一、继https://blog.csdn.net/ak739105231/article/details/91955284
css的文本属性包含
text-indent: 150px; /*文本首行缩进*/
background-color: aquamarine; /*背景颜色*/
text-align: center; /*文本居中*/
line-height:100px; /*一行的高度*/
letter-spacing: 10px; /*文本居中*/
text-transform: capitalize; /*首字母大写,一般用在标题*/
二、css的表框属性
常用属性包括:
border-color: blue; /*边框颜色*/
border-style: dashed; /*边框样式*/
border-width: 2px; /*边框宽度*/
倘若我们只想控制边框的某一条边的属性,可以使用:top、left、right、bottom 举例如:left:
border-left-color: blue; /*左边边框颜色*/
border-left-style: dashed; /*左边边框样式*/
border-left-width: 2px; /*左边边框宽度*/