How can i get the same length between 3 elements

How can i get the same length between 3 elements
0

#1


This is the best I can get. But it’s not perfect how can I get the space between more info tips and about me to be exactly the same


For me, this is the most logical when you add the same amount of px for each one. Start with 50 the next 150 and the last 250 but as you can see it doesn’t work.

How can i get the same line length between the elements?


#2

Since the size of each element is not fixed and not the same thanks to the different length of the text content, utilize Flexbox. Distributing items evenly is one of the things it does best. CSS-Tricks has a great guide to Flexbox that should show you what you need to get this done. Pay special attention to this section.