Created
November 19, 2015 18:21
-
-
Save marcelolebre/0593e0b7cf5fb0df78ae to your computer and use it in GitHub Desktop.
Center and crop image with full cover
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
background: url("<img>"); | |
background-size: cover; | |
background-position: center center; | |
background-repeat: no-repeat; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment