Being unique is so important to people on Mars that even their lottery is designed in a unique way. The rule of winning is simple: one bets on a numbe ...
分类:
其他好文 时间:
2020-01-27 15:17:12
阅读次数:
55
选择器权重:内联样式>id选择器>类选择器>元素选择器1000>100>10>1 永不进位继承来的属性,他的权重非常低,接近于0 !important,可以破坏选择器权重,强行让对应的属性权重最高 字体属性:font-family,font-size,font-style,font-weightfo ...
分类:
其他好文 时间:
2020-01-27 13:45:35
阅读次数:
104
一、一般而言:!important >行间样式 >id >class | 属性 >标签选择器 >通配符 二、权重值 !important Infinity 行间样式 1000 id 100 class | 属性 10 标签选择器 1 通配符 0 注:0,1,10,100并不是一个准确的数字实际上这个 ...
分类:
Web程序 时间:
2020-01-27 00:20:14
阅读次数:
108
```css .hljs { font-family: "Consolas",sans-serif !important; font-size: 14px !important; line-height: 1.4 !important; padding: 5px !important; } .cnb... ...
分类:
Web程序 时间:
2020-01-25 11:45:11
阅读次数:
97
Sterilization is the process of removing microorganisms and spores that may be present in an object to prevent infection. China Dental instruments tha ...
分类:
其他好文 时间:
2020-01-22 17:56:41
阅读次数:
98
(排序)二叉树的创建及中序遍历 写起来比C复杂一点,思路大同小异~ 1 package Collection; 2 3 import java.util.ArrayList; 4 import java.util.List; 5 /* 6 * (排序)二叉树的创建及中序遍历 7 */ 8 publi ...
分类:
编程语言 时间:
2020-01-20 19:04:32
阅读次数:
67
Given an array nums, we call (i, j) an important reverse pair if i < j and nums[i] > 2*nums[j]. You need to return the number of important reverse pai ...
分类:
其他好文 时间:
2020-01-19 22:19:33
阅读次数:
77
bug描述 项目中当下拉框和输入框还有日期组件在一行的时候,对其进行操作的时候,下拉框,输入框和日期框会出现抖动的现象 分析原因 刚开始的时候,以为是高度没有统一,于是统一设置el input_inner的高度 发现所有的高度都没有问题之后,于是分析代码。我这边直接用的是element ui的el ...
分类:
其他好文 时间:
2020-01-19 19:24:21
阅读次数:
721
刚学习vue不久,所以对vue了解还不是很深,一直处于边做边查的状态,这几天开发一个双语网站。内容如下,希望对大家有帮助。安装 vue-i18n插件npm install vue-i18n 1.首先是引进i18n 1.首先是引进i18n 然后在index.js中 import VueI18n fro ...
分类:
其他好文 时间:
2020-01-16 12:18:56
阅读次数:
67
页面布局 我的项目是有两种布局方式的, 一种是左侧布局,还有一种是顶部+左侧的布局,在这里主要讲顶部+左侧布局 因为左侧的相对简单,会自行匹配 业务场景 当页面刷新的时候,要回到原来的页面,并且要激活正确的一级和二级菜单 首先 在data中创建数据 data() { return { menus: ...
分类:
其他好文 时间:
2020-01-16 12:18:13
阅读次数:
98