Design comparison
SolutionDesign
Community feedback
- @MaximilianoDanielGarciaPosted 10 months ago
Hi @AbrahamTegene, good job!
If you are wondering how to center it, let me show you 2 easy ways:
- Using Flex Box
body { display: flex; flex-direction: column; justify-content: center; align-items: center; min-height: 100vh; }
- Using CSS Grid
body { display: grid; place-items: center; min-height: 100vh; }
For the attribution part, you can do this:
.attribution { position: absolute; bottom: 25px; }
I hope these was helpful to you.
1@AbrahamTegenePosted 10 months ago@MaximilianoDanielGarcia this is helpful thanks mate
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