<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-30171℃
2024-02-0548℃
2023-04-2036℃
2020-12-1129℃
2023-04-0821℃
2023-03-1818℃
2023-12-1415℃
2023-03-2614℃
2023-04-1913℃