<style> .container>li{ margin:0.5rem auto; width:4rem; height: 0.5rem; line-height: 0.5rem; border:1px solid #0000ff; } .justify { display: inline-block; vertical-align: top; width:100%; text-align: justify; } .justify::after{ content:""; display: inline-block; width:100%; overflow:hidden; height:0; } </style> <ul class="container"> <li > <p class="justify">集合地点在哪里呀</p> </li> <li> <p class="justify">两端对齐</p> </li> <li > <p class="justify">看,我两端对齐了</p> </li> <li > <p class="justify">左右</p> </li> </ul>
2022-11-30178℃
2024-02-0559℃
2023-04-2041℃
2020-12-1133℃
2023-04-0830℃
2023-12-1425℃
2023-03-1822℃
2023-04-1922℃
2023-04-1919℃