CSS3单行文本两端对齐
CSS3实现单行文本两端对齐
p {
height: 24px;
text-align: justify;
text-last-align: justify;
}
p::after {
display: inline-block;
content: '';
overflow: hidden;
width: 100%;
height: 0;
}
p {
height: 24px;
text-align: justify;
text-last-align: justify;
}
p::after {
display: inline-block;
content: '';
overflow: hidden;
width: 100%;
height: 0;
}