Created
August 6, 2014 08:22
-
-
Save Frulko/e652503e740638374202 to your computer and use it in GitHub Desktop.
[CSS] Sprite selector with prefix
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
[class^="sg-"], [class*="sg-"] { | |
background-image: url('sprite.png'); | |
background-color: transparent; | |
background-repeat: no-repeat; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment