Last active
August 29, 2015 14:17
-
-
Save ktzanev/4b8a862e42d9f005727c to your computer and use it in GitHub Desktop.
style priorities example
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
h1 { | |
color:red; | |
text-align: center; | |
} | |
div.message { | |
background-color: #fee; | |
padding: 1em; | |
} |
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
<style> | |
h1 { | |
text-align: left; | |
} | |
</style> | |
<h1 style="text-align: right;">Titre</h1> | |
<div class="message"> | |
La priorités du <code>text-align</code> | |
de <code><h1></code> sont dans l'ordre: | |
<ol> | |
<li><code>right</code> (défini dans l'élémént lui même) | |
<li><code>left</code> (défini dans un tag <code><style></code>) | |
<li><code>center</code> (défini dans un fichier <code>css</code> externe) | |
</ol> | |
</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
{"view":"split-vertical","fontsize":"100","seethrough":"","prefixfree":"1","page":"html"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment