Created
July 22, 2020 02:38
-
-
Save ljchuello/80af2043d704ab5d17e5344bb9642597 to your computer and use it in GitHub Desktop.
TOP => Código mágico que hace todas las imagenes se vean simétricas <3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.crop-image { | |
display: block; | |
height: 300px; | |
width: 100%; | |
img { | |
object-fit: contain; | |
height: 100%; | |
width: 100%; | |
object-position: center; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment