广告位招商QQ:425162221
CSS属性书写顺序推荐

载入中
//显示属性
* display
* list-style
* position
* float
* clear
//自身属性
* width
* height
* margin
* padding
* border
* background
//文本属性
* color
* font
* text-decoration
* text-align
* vertical-align
* white-space
* other text
* content
下面是淘宝的css属性顺序书写规范:
*{
/*显示属性*/
display
position
float
clear
cursor
…
/*盒模型*/
margin
padding
width
height
/*排版*/
vertical-align
white-space
text-decoration
text-align
…
/*文字*/
color
font
content
/*边框背景 为什么要把 boder和background放在最后的原因是修改的频率会较之前的频繁,放在最后查看起来方便,哈哈。*/
border
background
}
/*浏览器 Hack*/
test:791px!important; /*FF Hack*/
*test:785px!important; /*IE7 Hack*/
test:777px; /*IE7以下*/ 文章来源:雨#哲
文章搜索:
- 用户信息中心
- 相关文章
-
-
没有相关文章
- 热门排行TOP10
-
- 1WORD 页眉设置 技巧 (3365)
- 2在线播放FLV格式文件 (3063)
- 3xxmrxut.exe病毒的手 (1861)
- 4如何在静态HTML页面 (1692)
- 5中CODEPAGE=936代表 (1513)
- 6如何制作电子邮件表 (1495)
- 7WindowsServerServi (1472)
- 8在网页右下角添加书 (1460)
- 9去除Word文档中的页 (1414)
- 10[ASP]隐藏文件下载地 (1342)
- 推荐排行TOP10
-
- 1在线播放FLV格式文件 (3063)
- 2在网页右下角添加书 (1460)
- 3[ASP]隐藏文件下载地 (1342)
- 4一段asp高亮关键字代 (1151)
- 5ASP 程序实现自动升 (1063)
- 6自定义标签设置搜索 (1040)
- 7在文字前加上与文字 (1035)
- 8文字自动适应Table( (1018)
- 9ACCESS数据库防下载 (965)
- 10用HTC统一定制表单样 (824)
- 网站统计
-
