css常见样式整理。

color: red;  #字体颜色 (颜色单词或者颜色的十六进制) 

font-size:  40px #字号大小(单位像素)

background-color: blue; #背景颜色(颜色单词或者颜色的十六进制)

font-weight: bold;  #字体加粗 / font-weight:  normal #正常

font-style :italic; #斜体 / font-style :normal; #正常,非斜体的。

font-decoration:  underline; #字体下划线。/ text-decoration:none; #取消下划线。







猜你喜欢

转载自blog.51cto.com/suhaozhi/2339117
今日推荐