Created
March 11, 2019 13:12
-
-
Save Quadriphobs1/2c2d2238fce0d777fcf47a445cf641d7 to your computer and use it in GitHub Desktop.
Centering image in its contaner
This file contains hidden or 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
| object-position: center; | |
| object-fit: cover; | |
| height: auto; | |
| min-height: 100%; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment