Created
June 5, 2013 14:42
-
-
Save yukulele/5714359 to your computer and use it in GitHub Desktop.
Psuedo element test on <img>
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
/* | |
Psuedo element test on <img> | |
*/ | |
h1:after{ | |
content:"h1 after"; | |
color:pink; | |
} | |
h1:before{ | |
content:"h1 before"; | |
color:blue; | |
} | |
img:after{ | |
content:"img after"; | |
color:pink; | |
} | |
img:before{ | |
content:"img before"; | |
color:blue; | |
} |
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
<h1>Lorem ipsum</h1> | |
<img src="http://lorempixel.com/400/200/"> |
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
// alert('Hello world!'); |
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
{"view":"separate","fontsize":"100","seethrough":"","prefixfree":"1","page":"all"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment