Created
August 21, 2015 12:19
-
-
Save oilvier/cde75f0b38fff92fe24f to your computer and use it in GitHub Desktop.
Exemples de commentaire hierarchisés en CSS
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
/* -------------------------------------------------------------------------- *\ | |
# Commentaire de premier niveau | |
\* -------------------------------------------------------------------------- */ | |
/* ========================================================================== | |
## Commentaire de deuxième niveau | |
========================================================================== */ | |
/* ### Commentaire de troisième niveau | |
========================================================================== */ | |
/** | |
* Commentaire sur plusieurs lignes | |
* Pour décrire un bloc complexe avec un code d'exemple | |
*/ | |
/* Commentaire simple */ | |
/* -------------------------------------------------------------------------- */ | |
/* Cas pratique : */ | |
/* -------------------------------------------------------------------------- */ | |
/* -------------------------------------------------------------------------- *\ | |
# Résultats de recherche | |
@search-index-index | |
\* -------------------------------------------------------------------------- */ | |
.search {...} | |
/* ========================================================================== | |
## Moteur de recherche | |
========================================================================== */ | |
.search__form {...} | |
.search__form > div {...} | |
/* ### Mise en forme des options de recherche | |
========================================================================== */ | |
.search__options {...} | |
/* ========================================================================== | |
## Liste des résultats | |
========================================================================== */ | |
.search__results {...} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment