CSS 常用属性
-
字体属性 font-size
-
文本属性 text-decoration、text-align text-decoration:规定添加到文本的修饰。
underline定义文本下的一条线。overline定义文本上的一条线。line-through定义穿过文本下的一条线。blink定义闪烁的文本。 -
首行缩进 text-indent
-
行高 line-height
-
宽高属性 width height min-height max-height
-
背景 background background:bg-color bg-image position/bg-size bg-repeat bg-origin bg-clip bg-attachment initial|inherit;
-
列表 list-style 在一个声明中设置所有的列表属性 list-style-type list-style-position list-style-image
-
字体颜色 color
-
border
borderWidth 设置边框的宽度
thin medium thick length
borderStyle 设置边框的样式
none hidden dotted dashed 点状 solid 实现 double 双边 groove ridge inset outset
borderColor 设置边框的颜色
color-name color-rgb color-hex transparent
transform

评论 (0)