Centrar un Div Vertical y Horizontalmente con Transform y Translate

Solution retrospective
no me siento seguro en la adaptacion a dispositivos moviles
Please log in to post a comment
Log in with GitHubCommunity feedback
- @Mod8124
Hola, Buen Trabajo!
Está bien nada mas nunca uses medidas fijas para el responsive, en este caso es recomendado usar porcentajes y así se adaptará a la pantalla width:90% y le puedes añadir un max-width:350px; que sería el máximo de tu porcentaje(div)
acá te dejo el ejemplo:
.container { width: 90%; max-width: 350px; }
Marked as helpful - @adanguerra1990
Muchas gracias por tu comentario, es de mucha ayuda para mi aprendizaje
Join 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