Submitted over 2 years ago
Responsive testimonial grid section with CSS Grid
@BhekiAccion
Design comparison
SolutionDesign
Community feedback
- @ThanhVuong0904Posted over 2 years ago0@BhekiAccionPosted over 2 years ago
@ThanhVuong0904 Hi may l know why and what it does? does it centre the div vertically or something? If that's the case isn't it better to apply that to the div than to the body element? Your advice will be greatly appreciated.
0@ThanhVuong0904Posted over 2 years ago@BhekiAccion Because you set the
max-width
value for thebody
tag,margin: auto
ormargin: 0 auto
will help center horizontal the child tag.Marked as helpful0
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord