
Design comparison
SolutionDesign
Community feedback
- @Kelvin-melo06Posted 27 days ago
Você pode usar um posision relative e absolute para centralizar seu container em relação ao body, o posision relative vai no seu container principal, o elemento pai, e o absolute no elemento filho, em seguida defina o "top" com um valor, se for em "%" defina a altura como "100%" no body para não dar erro, abraço!
1
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