@ohad331Submitted over 3 years ago
Hi there, I had some problems with the layout, I think there must be an easier way to center side by side these div elements.
Hi there, I had some problems with the layout, I think there must be an easier way to center side by side these div elements.
Hi! I think the best way is to go with flexbox. You can do it like: .container { display: flex; }
.container > div { flex: 1; } In this way you'll have all of your divs in a container and you can center them easily :)