Why my margin doesnt apply? I want to have space between lines

Because they are inline span elements and block (top/bottom) margin does not do anything to them. Only the inline margin (left/right) is respected.

margin-bottom

This property has no effect on non-replaced inline elements, such as <span> or <code>.

ok, but how do I then make it so I have space between the lines?
gap seems doesnt do anything.

I dont wanna write bunch of <br>
as a dirty fix

Depends, you can try making them inline-block

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.