1. id选择器( myid) 2. 类选择器(.myclassname) 3. 标签选择器(div,h1,p) 4.相邻选择器(h1+p) 5.子选择器(ul li) 6.后代选择器(li a) 7.通配符选择器( ) 8.属性选择器(a[rel="external"]) 9.伪类选择器(a:ho ...
分类:
Web程序 时间:
2018-12-13 21:47:42
阅读次数:
228
路由配置{ path: '/finance', name: 'Finance', meta: { title: '财务' }, component: () => import('@/components/Finance'), redirect: '/finance/code/code', child ...
分类:
其他好文 时间:
2018-12-12 23:44:43
阅读次数:
289
一选择器复习 二常用标签的使用(锚点) 三radius边界圆角 4背景样式(repeat平铺,background图片设置) 5精灵图 六盒模型布局细节(margin坑: 父子联动) 六.1盒模型案例(nth-child) ...
分类:
其他好文 时间:
2018-12-11 21:50:14
阅读次数:
219
一、回顾vue中的生命周期 beforeCreate created beforeMount mounted beforeUpdate updated beforeDestroy destroyed activated deactivated 二、react生命周期钩子函数 初始化阶段 constr ...
分类:
其他好文 时间:
2018-12-11 21:44:44
阅读次数:
243
在解压tar.gz文件的时候报错 [Sun@localhost Downloads]$ tar -zxvf clion-141.351.4.tar.gz gzip: stdin: not in gzip format tar: Child returned status 1 tar: Error i ...
//获取元素列表public List<WebElement> ListElements(By parentBy, By childrenBy, By grandchildrenBy) { //定义一个list集合存储所有的元素列表参数 List<WebElement> webElements = ...
分类:
编程语言 时间:
2018-12-10 18:00:22
阅读次数:
230
inheritance ? Constructors are inherited, but use super() public class Parent { public Parent() { do some code; } } public class Child extends Parent ...
分类:
编程语言 时间:
2018-12-09 14:21:53
阅读次数:
130
一、启动服务自动打开浏览器运行 二、配置简要说明 1、node_modules 安装好的依赖文件,中间件等,所在位置 2、package.jason 配置当前项目要安装的中间件和依赖文件 node_modules文件夹下的文件就是这里定义需要安装的依赖文件或中间件等。 3、build文件夹 webp ...
分类:
其他好文 时间:
2018-12-08 20:25:19
阅读次数:
191
0.目录 1. "同名覆盖" 2. "赋值兼容" 3. "函数重写遇上赋值兼容" 4. "小结" 1.同名覆盖 子类中是否可以定义父类中的同名成员?如果可以,如何区分?如果不可以,为什么? 父子间的冲突: 子类可以定义父类中的同名成员 子类中的成员将隐藏父类中的同名成员 父类中的同名成员依然存在于子 ...
分类:
编程语言 时间:
2018-12-08 15:43:52
阅读次数:
268
有可能在制作网页的过程中遇到各种美化表单设计,这次我们来试着做一个demo 将input输入框添加内部图标 话不多说,看一下最终效果 我们的思路是,在一个div中,加入一个div和一个input标签,小div在左侧,input放右侧,用box-sizing:border-box,这句代码代表的是这个 ...
分类:
其他好文 时间:
2018-12-08 00:22:49
阅读次数:
742