Created
October 4, 2017 15:53
-
-
Save vinyll/0e768d7e10ccee90b5f7f45c50a332d3 to your computer and use it in GitHub Desktop.
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
<!-- Proposition de styleguide simple pour Cafebabel. --> | |
<!doctype html> | |
<meta charset=utf-8> | |
<title>Cafebabel Styleguide</title> | |
<h1>Titre</h1> | |
<h2>Sous-titre</h2> | |
<h3>Sous-titre h3</h3> | |
<h4>Sous-titre h4</h4> | |
<p>Paragraphe un peu plus long</p> | |
<blockquote> | |
Bloc de citation | |
</blockquote> | |
<style> | |
nav::before { | |
content: " "; | |
display: block; | |
} | |
</style> | |
<nav> | |
<a href=#>Accueil</a> | |
<a href=#>Groupes</a> | |
<a href=#></a> | |
</nav> | |
<script> | |
document.querySelector('nav').addEventListener('click', event => { | |
event.target.classList.toggle('closed') | |
}) | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment