Design comparison
SolutionDesign
Solution retrospective
When I zoom in on my browser, the image gets cut off starting at 133%. I'd like to know why this is happening. Feedback on anything else is welcome as well.
Community feedback
- @BlackpachamamePosted over 1 year ago
¡Buen trabajo Fernanda!
Por lo que entiendo la imagen se corta porque usas la propiedad
object-fit: cover;
y esto lo que hace es intentar ajustar la imagen manteniendo la relación aspecto con respecto a su contenedor y, que en caso contrario, corte la imagen.En caso que no uses
cover
, entonces la imagen se estiraría o "arrugaría" solo para encajar completa dentro del contenedor.Marked as helpful1
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