4条回答 默认 最新
- 原莱_ 2022-02-25 10:55关注
<ul> <li>1</li> <li>2</li> <li>3</li> <li>4</li> <li>5</li> <li>6</li> <li>7</li> <li>8</li> </ul> //--------------------------- <style scoped> ul,li{ padding: 0; margin: 0; } ul{ width: 60px; height: 200px; border: 1px solid #333; display: flex; flex-direction: column; justify-content: space-between; } li{ list-style: none; width: 100%; border-bottom: solid 1px #333; } li:last-child{ border-bottom: none; } </style>
本回答被题主选为最佳回答 , 对您是否有帮助呢?解决 无用评论 打赏 举报