Created
November 8, 2023 15:08
-
-
Save nezvinskyi/a1606fedd89e6e2bb5d67429de929b9c to your computer and use it in GitHub Desktop.
css: Better image reset
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
img { | |
max-width: 100%; | |
height: auto; | |
vertical-align: middle; | |
font-style: italic; | |
background-repeat: no-repeat; | |
background-size: cover; | |
shape-margin: 0.75rem; | |
} | |
https://www.youtube.com/watch?v=345V2MU3E_w&t=601s |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment