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