。atguigu3{
word-spacing:20px;
}
第一百节CSS_常用文本属性_文本修饰
属性名:text-decoration
作用:控制文本的各种装饰线。
可选值:
1。none:无装饰线(常用)
2。underline:下划线(常用)
3。overline:上划线
4。line-through:删除线
可搭配如下值使用:
1。dotted:虚线
2。wavy:波浪线
3。也可以指定颜色。
举例:。atguigu1{
text-decoration:overlinedottedgreen;
}
。atguigu2{
text-decoration:underlinewavyred;
}
。atguigu3{
text-decoration:line-through;
}
。atguigu4,ins,del{
font-size:40px;
text-decoration:none;
}
第一百零一节CSS_常用文本属性_文本缩进
属性名:text-indent。
作用:控制文本首字母的缩进。
属性值:css中的长度单位,例如:px
举例:div{
text-indent:40px;
}