Latest solutions
Latest comments
- @mwitkowski96Submitted over 2 years ago@cl8396Posted over 2 years ago
-
You can use
display: grid
place-items: center
on the body to center the element in the middle of the page. I woudn't use this if there is more than one element in the body. -
To create the required spacing, margins can defintely work. To cut down on writing lots of the same CSS, you could use a utility class like the one outlined here
-
The HTML structure looks good to me.
-
I would make sure your sizing adheres closer to the design.
0 -