.text-content{
font-size
:
15px
;
text-indent
:
30px
;
/*段落首行缩进,text-indent的值为font-size的2倍,相当于缩进2个汉字*/
line-height
:
22px
;
/*line-height的值为font-size的1.5倍,即1.5倍行距,使用line-height:1.5效果相同;*/
text-align
:
justify
;
/*左右对齐*/
}
时间:2020-12-30 05:08:42
.text-content{
font-size
:
15px
;
text-indent
:
30px
;
/*段落首行缩进,text-indent的值为font-size的2倍,相当于缩进2个汉字*/
line-height
:
22px
;
/*line-height的值为font-size的1.5倍,即1.5倍行距,使用line-height:1.5效果相同;*/
text-align
:
justify
;
/*左右对齐*/
}
java 首行缩进_利用CSS text-indent 实现段落首行缩进
2018-10-29
换行样式不要首行缩进_CSS实现文章段落首行缩进两个字符不再每次空格
2020-02-13
段落首行缩进怎么弄 html html5怎么开头空格?利用css实现首行缩进功能!
2018-12-18
div+CSS实现段落首行缩进两个字符(text-indent标签)
2020-04-28