Home>

How best to create such lines so that the distance was uniform. Before ask everyone?

This question in the form of a picture should be closed, because it is useless for the knowledge base (one who has a similar question will be able to find this question and answers to it)

aleksandr barakin2021-09-11 21:35:47

Is it because I did not attach the code?

Blondguy2021-09-12 01:03:31
  • Answer # 1

    you can

    <
    UL >
        ≪
    Li >
    One <
    /Li >
        ≪
    Li >
    TWO <
    /Li >
        ≪
    Li >
    Three <
    /Li >
        ≪
    Li >
    Four <
    /Li >
        ≪
    Li >
    Five <
    /Li >
    ≪
    /ul >
    Li {
      Display: inline-block;
    }
    Li: Not (: Last-Child) :: Afterter {
      Content: "|";
      Padding: 0 5px;
    }