Evenly distribute li items, with absolute width

In the footer of a responsive website, I need to evenly distribute some li items.

This is what I want to achieve:

Read More

enter image description here

And this is what I have:

enter image description here

I would like to avoid setting absolute width for each li, to keep a responsive capability of this part of the website.

What would be the optimal way to proceed?

Related posts

Leave a Reply

2 comments

  1. The effect in your screenshot can be achieved by using a margin:

    .bottomMenu li {
        margin-right: 24px;
    }
    

    If you want a nice, justified look and you are not concerned with very old browsers, you can use a flex model:

    .bottomMenu (
        display: flex;
        justify-content: space-between;
    }