@valvrauu
Posted
Hello, I really liked it! but the element is not centered (even with flex, because of viewport height), my suggestion:
remove the top margin and use it in the body: "min-height: 100vh;" and "margin: 0;".
Marked as helpful
@valvrauu
Posted
Hello, I really liked it! but the element is not centered (even with flex, because of viewport height), my suggestion:
remove the top margin and use it in the body: "min-height: 100vh;" and "margin: 0;".
Marked as helpful
@CristianAguilar-dev
Posted
Hola amigo está genial tu diseño, puedo dejarte una sugerencia, para que tú contenedor principal este centrado puedes usar una técnica en selector universal para eliminar los márgenes y rellenos que están por defecto y desde tu body. Estableciendo un alto y ancho del 100% y dándole estilo flexbox. Por ejemplo:
Marked as helpful
@Criszafiro muchas gracias amigo, justo eso estaba maquinando gracias gracias
@CristianAguilar-dev
Posted
@JuanpitxDeveloper Congusto amigo estamos para servir en esta hermosa comunidad 🤝
@lwrncgmbn
Posted
Hello, I noticed that the container itself is not centered, you can put this in the body {}:
min-height: 100vh
And remove the margin-top: 125px;
in the .container{}.
Happy Tasking 😄
Marked as helpful
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