Created
August 28, 2013 00:22
-
-
Save joshrhoades/6360723 to your computer and use it in GitHub Desktop.
Set a blank img src for setting a background image since img.src can't be targeted directly. Disables the outline/placeholder of an img element that has no SRC value (which often is a side-effect of styling the parent element of the img with the 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
<img src="data:image/png;base64,R0lGODlhFAAUAIAAAP///wAAACH5BAEAAAAALAAAAAAUABQAAAIRhI+py+0Po5y02ouz3rz7rxUAOw==" /> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment