Last active
March 12, 2017 10:57
-
-
Save ktzanev/354f8ea4010e8f9a48eb8778d003507d to your computer and use it in GitHub Desktop.
E : sélecteur de balise (GistRun)
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
<!doctype html> | |
<html lang="fr"> | |
<head> | |
<meta charset="utf-8"> | |
<title>E : sélecteur de balise</title> | |
<style> | |
div { | |
padding: 1em; | |
background: yellow; | |
} | |
p { | |
font-style: italic; | |
color: red; | |
} | |
</style> | |
</head> | |
<body> | |
<p>Un premier paragraphe.</p> | |
<div> Un div qui contient : | |
<p>Un autre paragraphe.</p> | |
</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment