Design comparison
SolutionDesign
Solution retrospective
I found it difficult to get the box in the middle actually, that was the hardest part.
I think everything is right.
Community feedback
- @freaky4wrldPosted about 1 year ago
Hey there, it's cool...... and you did great, but here are some tips to center your content You can provide you box element a width of maybe between 40-60% then make the box element display block provide a top and bottom margin and for right left use auto Et Voila your box is centered use this code below .box{ width: [some]%; display: block; margin: [some]rem/px/em auto; }
Marked as helpful1@naroorsPosted about 1 year ago@freaky4wrld I'll try to apply that next time, thanks man!
0
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