标签: html css
How to make li text code in one line html
What I wanted to be
答案 0 :(得分:1)
display:inline-block 要么 display:inline
li {display:inline-block; }
答案 1 :(得分:0)
将ul的显示更改为flex并更改flex方向以适合您真正想要的... flex方向可以是列,行,列反转或行反转#cheers