Answer the question
In order to leave comments, you need to log in
How to make the same distance between the centers of the blocks?
Greetings, this is a real puzzle, how to make it so that the distance between the CENTERS of the blocks is the same in css? Not the distance between the blocks? it's easy as well between their centers. The fact is that the blocks are with content, and their width is not known, it is according to the content. The maximum is limited to 170px and that's it.
How, with an unknown width of the blocks, to make the distance between their centers the same?
Here's how I'm trying to do it
Answer the question
In order to leave comments, you need to log in
.step-list__item{
width:100%;
max-width:170px;
}
.step-list{
justify-content:space-around;
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question