
Design comparison
Solution retrospective
i use flexbox with justify-content: center
and align-items: center
with min-height:100vh
to make sure the element position in the center but is it good enough or there's better solution for this use case ?
i also experimenting to add paragraph description style with padding left and right with the value of 20px to make it looks like on the design, at first i want to use <br/>
but i don't think it's a good idea and i don't know what is the better solution than this.
Community feedback
- @Arthur18devPosted about 2 months ago
Creating a css file to place the style that are in the html is a recommended practice.
0 - @DavidSurumenPosted about 2 months ago
Include a site title -a h1 inside header tag. I think flexbox is the right thing to use. One could also try grid as an option, but that isn't best suited for this use case. I don't know why you would want to use <br>. I would just use padding-top or padding-bottom on either.
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