How to equally distribute elements horizontally using CSS

后端 未结 6 987
一向
一向 2021-01-14 18:53

I have eleven dots arrange horizontally using CSS. How can I evenly/equally distribute spacing between elements (mine are elements) based on the wi

6条回答
  •  情书的邮戳
    2021-01-14 19:00

    Put all the spans in a div and give it display: flex:

    .flexdiv{
        display: flex;
    }
    span span span span span span

提交回复
热议问题