好得很程序员自学网

<tfoot draggable='sEl'></tfoot>

CSS简单常用属性的总结

括号中内容为快捷键。

1、字体颜色(c)

color:red;

2、字号大小(fos)

font-size:40px;

3、背景颜色(bgc)

background-color: blue;

4、加粗(fwb)

font-weight: bold;

5、不加粗(fwn)

font-weight: normal;

6、斜体(fsi)

font-style: italic;

7、不斜体(fsn)

font-style: normal;

下划线(tdu)

text-decoration: underline;

没有下划线(tdn)

text-decoration:none;

以上就是CSS简单常用属性的总结,希望对大家有所帮助。 更多css学习指路: css教程

本文教程操作环境:windows7系统、css3版,DELL G3电脑。

查看更多关于CSS简单常用属性的总结的详细内容...

  阅读:19次