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
更多精彩内容:各种AI课程、技能课程、黑科技软件、网站小程序源码、副业小项目、PPT模板等精品素材、电商课程、推广引流课程等,尽在 天边资源网 。