p{
color:
letter-spacing 字符间距
word-spacing 空格距离
direction ltr :left to right 从左到右
text-decoration: none line-throgh overline underline
有一条线 之间,上面,下面
text-align:center left right justify 左对齐 右对齐 之间对齐 两端对齐
text-indent: 60px 缩进
text-transform: uppercase lowercase capitalize英文大小写字母
全大写 全小写 首字母大写
white-space: nowrap; 不包裹
overflow: hidden; 超出的部分隐藏
text-overflow: ellipsis; 超出的部分打省略号
垂直对齐
vertical-align: top center bottom
float
}
CSS文本实例
最新推荐文章于 2020-11-01 13:17:04 发布