I have 5 labels that I am displaying in a row. I would like them to be evenly spaced from eachother. When they were all the same width, I was able to do this using the following css:
li{
margin-left: 2%;
width: 18%;
}
However, when I changed the width it throws everything off. The width of each one is different and not based off the percentage anymore so I can't use this method. Does anybody know how I can space them evenly on one line now?
Here is a codepen showing how it sits now: