css基本关键词

text_align:文本排列;text-align:justify(文本排列自适应)

background-color:背景颜色

background-image.背景图片

background-repeat:repeat-x;水平或垂直方向平铺

background-attachment:背景固定或滚动

background-position:背景位置(上下左右)

所有CSS文本属性。

属性 描述
color 设置文本颜色
direction 设置文本方向。
letter-spacing 设置字符间距
line-height 设置行高
text-align 对齐元素中的文本
text-decoration 向文本添加修饰(overline; //上有横线,ine-through;//中有横线underline;//下有横线)
text-indent 缩进元素中文本的首行
text-shadow 设置文本阴影
text-transform 控制元素中的字母(值为capitalize//首字母大写..uppercase...lowercase)
unicode-bidi 设置或返回文本是否被重写 
vertical-align 设置元素的垂直对齐
white-space 设置元素中空白的处理方式(nowrap:禁止文字环绕)
word-spacing 设置字间距(可以 为负数)
发布了4 篇原创文章 · 获赞 7 · 访问量 6446

猜你喜欢

转载自blog.csdn.net/weixin_42333361/article/details/87929009