How to style the UL list to a single line

前端 未结 5 952
时光取名叫无心
时光取名叫无心 2020-12-02 08:40

I want to render this list in a single line.

  • List item1
  • List item2

Should be shown as

*List item2 *List item2

What CSS

5条回答
  •  萌比男神i
    2020-12-02 09:40

    in bootstrap use .list-inline css class

    • Coffee
    • Tea
    • Milk

    Ref: https://www.w3schools.com/bootstrap/tryit.asp?filename=trybs_ref_txt_list-inline&stacked=h

提交回复
热议问题