3
I’m using Bootstrap 4 as documentation (https://getbootstrap.com/docs/4.0/utilities/flex/).
Using the class Justify-content-center I have the following result:
My div is with the classes: d-flex flex-wrap Justify-content-center
I would like these smaller items to be centered on the page, however, that their last line be aligned to the left, this way:
Is it possible? I accept suggestions in another way to get the same result, even if you don’t use Flexbox. I need the solution to be "responsive", being able to serve for any size and amount of elements.
I don’t quite understand your question.. You want to get the result as in the second picture, right? But when I opened your codepen link, the result was the same as the second image, see this print
– celsomtrindade
Hello @celsomtrindade, I ended up updating Codepen after the first interaction with the dvd user. I returned now to the original code. Anyway, it solved my problem using Javascript. Thank you.
– natodp