span{
/*设置字体*/
font-family:"楷体";
/*字体大小 默认值是16px*/
font-size:30px;
/*font-style:字体样式*/
nomal:正常(默认)
italic:(斜体);
oblique:(倾斜);
font-style:oblique;
/*字体加粗:font-weight*/
bolder:特粗体;
bold:加粗体;
nomal:正常(默认);
lighter:细体;
font-weight:lighter;
/*垂直对齐:居上*/
verticol-align:top;
}
p{
/*单词间隔*/
word-spacing:20px;
/*字母间隔*/
letter-spacing:-10px;
/*首行缩进*/
text-ident:2em;
/*
capitalize:首字母大写
uppercase:全部大写
lowercase:全部小写
*/
text-transform:lowercase;
}
.box{
/*行高*/
line-height:100px;
}
.text{
/*文字装饰
text-decoration
none:正常显示
under-line:加下划线
line-through:删除线
overline:加顶线
*/
text-decoration:under- line solid pink;
}
.p1{
/*文本最后一行对齐:两端对齐*/
Text-align-last:justify;
}