3月15号

1、结构伪类选择器
nth-child()
first-child
last-child
nth-last-child

1.2、目标伪类选择器
:target

2、盒子模型
为了页面的稳定和良好的布局,以及后期维护的方便,在开发当中都可以把每一个标签当成是一个盒子盒模型的组成
border
content
padding
margin

3、背景
background-color 背景颜色
background-image 背景图片
background-position 背景位置
background-repeat 背景平铺
background-size 背景大小
background-attachment 背景附着 是否滚动 scrool,fixed.

培训的熟练度远远大于自学的熟练度
举个最简单的例子:一个案例或者项目,我们至少要写3~5遍,每个细节都要了然于心,自学的估计抄一遍就完事了。

研究:nth-of-type():匹配同类型中的第n个同级兄弟元素

猜你喜欢

转载自www.cnblogs.com/replaceroot/p/10545366.html