Created
October 27, 2014 14:19
-
-
Save luiz/9799bade9061f44cb0c6 to your computer and use it in GitHub Desktop.
:lang pseudoclass tests
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
/* :lang pseudoclass tests */ | |
:lang(fr) > p { | |
background-color: yellow; | |
} | |
:lang(fr) > strong { | |
font-style: italic; | |
} | |
strong:lang(pt) { | |
color: red; | |
} |
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
<div lang="fr"> | |
<p>Le livre est sur la table.</p> | |
<p>Est-ce que <strong>vous</strong> comprennez ça?</p> | |
</div> | |
<div lang="pt"> | |
<p>O livro está sobre a mesa.</p> | |
<p><strong>Você</strong> entende isso?</p> | |
</div> |
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
// alert('Hello world!'); |
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
{"view":"split-vertical","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