css书写顺序规范---规范书写很重要
编程语言
2023-04-09 17:34:43
阅读次数: 0
css书写顺序规范
顺序 |
常用属性 |
1、位置属性 |
position left top right bottom z-index display float overflow clear |
2、宽高间隔 |
width height margin padding |
3、文字样式 |
font font-size font-color font-family font-style font-weight |
4、文字属性 |
text-align text-decoration vertical-align white-space text-overflow text-indent letter-spacing word-spacing text-transform |
5、css3新特性 |
border-radisu background-image background-color background-size animation transfomr 等 |
转载自blog.csdn.net/qq_38110274/article/details/110873060