Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Centrar un Div Vertical y Horizontalmente con Transform y Translate

@adanguerra1990

Desktop design screenshot for the QR code component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


no me siento seguro en la adaptacion a dispositivos moviles

Community feedback

Denis 1,060

@Mod8124

Posted

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

0

@adanguerra1990

Posted

Muchas gracias por tu comentario, es de mucha ayuda para mi aprendizaje

0

Please log in to post a comment

Log in with GitHub
Discord logo

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