.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
;
/*左右对齐*/
}
时间:2018-11-21 20:39:03
.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 实现段落首行缩进
2020-11-14
换行样式不要首行缩进_CSS实现文章段落首行缩进两个字符不再每次空格
2021-04-06
段落首行缩进怎么弄 html html5怎么开头空格?利用css实现首行缩进功能!
2024-03-17
div+CSS实现段落首行缩进两个字符(text-indent标签)
2020-11-25