1.文本体系
2.文本各属性取值
说明:
每一个属性后面的分支是属性值,以及对属性值的说明。
比如text-align- - - -有3个取值:left,center,right
3.空格大小
4.代码演示
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title></title>
<style type="text/css">
div{
width: 1000px;
border: 1px solid blue;
font: bold 30px/50px "微软雅黑";
color: red;
text-align: center;
text-decoration: line-through;
letter-spacing: 5px;
text-indent: 2em;
white-space: nowrap;
}
</style>
</head>
<body>
<div id="">
我在学习H5教程,我会成为前端大神的!
</div>
</body>
</html>
转载请注明原文地址: https://www.6miu.com/read-56446.html