样式表的属性编写技巧
//显示属性
display
list-style
position
float
clear
//自身属性
width
height
margin
padding
border
background
//文本属性
color
font
text-decoration
text-align
vertical-align
whitewhite-space
other text
content
注:这样编写可以提高样式的执行效率,虽说小的变动,对于大型网站是有很大帮助的哦!
CSS编写顺序
最新推荐文章于 2022-07-20 11:10:53 发布