Created
January 10, 2013 05:06
-
-
Save sirbrillig/4499620 to your computer and use it in GitHub Desktop.
Overflow a CSS background-image.
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
#wrapper { | |
background-image: url("image.png"); | |
width: 80px; /* the image width is 100px; */ | |
padding-right: 20px; | |
margin-right: -20px; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment