Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource

JavaScript

Babel includes JSX processing.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource

Packages

Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.

Behavior

Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML

              
                <table>
  <thead>
    <tr>
      <th scope="col"></th>
      <th scope="col">Sigle</th>
      <th scope="col">Symbole</th>
      <th scope="col">Acronyme</th>
      <th scope="col">Acronyme lexicalisé</th>
      <th scope="col" class="abreviation">Abréviation</th>
      <th scope="col">Abréviation lexicalisée</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <th scope="row">Particularité</th>
      <td class="abreviation sigle">Épellés</td>
      <td class="abreviation symbole">Unités de mesures</td>
      <td class="abreviation acronyme-lexicalise">Se prononçent comme un mot</td>
      <td class="abreviation acronyme">Il n’est plus nécessaire de connaitre les mots qui forment l’acronyme pour le comprendre</td>
      <td class="abreviation">Pas de réduction orale (mais pas un symbole)</td>
      <td class="abreviation abreviation-lexicalisee">L’abréviation tend à remplacer le mot initial</td>
    </tr>
    <tr>
      <th scope="row">Exemples</th>
      <td class="abreviation sigle">
        <abbr class="small-caps">T.S.F.</abbr>,
        <abbr class="small-caps">H.L.M.</abbr>,
        <abbr class="small-caps">C.O.D.</abbr>
      </td>
      <td class="abreviation symbole">
        <abbr title="kilogramme">kg</abbr>,
        <abbr title="centimètre">cm</abbr>,
        <abbr title="kilomètre par heure">km/h,</abbr>
        <abbr title="watt" class="small-caps">W</abbr>
      </td>
      <td class="abreviation acronyme">
        <abbr class="acronym small-caps">NASA</abbr>,
        <abbr class="acronym small-caps">ISO</abbr>
      </td>
      <td class="abreviation acronyme acronyme-lexicalise">
        laser,
        radar,
        bédé,
        modem
      </td>
      <td class="abreviation">
        <abbr title="Monsieur">M.</abbr>,
        <abbr title="Madame">M<sup>me</sup></abbr>,
        <abbr title="et cetera">etc.</abbr>
      </td>
      <td class="abreviation abreviation-lexicalisee">
        vélo,
        auto
      </td>
    </tr>
    <tr>
      <th scope="row">Réduction graphique</th>
      <td class="abreviation">oui</td>
      <td class="abreviation">oui</td>
      <td class="abreviation">oui</td>
      <td class="abreviation">oui</td>
      <td class="abreviation">oui</td>
      <td class="abreviation">oui</td>
    </tr>
    <tr>
      <th scope="row">Réduction orale</th>
      <td class="abreviation">oui</td>
      <td class="abreviation">non</td>
      <td class="abreviation">oui</td>
      <td class="abreviation">oui</td>
      <td class="abreviation">non</td>
      <td class="abreviation">oui</td>
    </tr>
    <tr>
      <th scope="row">Capitales (petites, si possible)</th>
      <td class="abreviation">oui</td>
      <td class="abreviation">parfois</td>
      <td class="abreviation">oui</td>
      <td class="abreviation">non</td>
      <td class="abreviation">non</td>
      <td class="abreviation">non</td>
    </tr>
    <tr>
      <th scope="row">Points abréviatifs</th>
      <td class="abreviation">oui</td>
      <td class="abreviation">non</td>
      <td class="abreviation">non</td>
      <td class="abreviation">non</td>
      <td class="abreviation">si suppression des lettres finales</td>
      <td class="abreviation">non</td>
    </tr>
    <tr>
      <th scope="row">Espaces</th>
      <td class="abreviation">supprimés</td>
      <td class="abreviation">supprimés</td>
      <td class="abreviation">supprimés</td>
      <td class="abreviation">supprimés</td>
      <td class="abreviation">insécables</td>
      <td class="abreviation">supprimés</td>
    </tr>
    <tr>
      <th scope="row">Traits d’union</th>
      <td class="abreviation">supprimés</td>
      <td class="abreviation">supprimés</td>
      <td class="abreviation">supprimés</td>
      <td class="abreviation">supprimés</td>
      <td class="abreviation">conservés</td>
      <td class="abreviation">conservés</td>
    </tr>
    <tr>
      <th scope="row">Accents</th>
      <td class="abreviation">supprimés</td>
      <td class="abreviation">supprimés</td>
      <td class="abreviation">supprimés</td>
      <td class="abreviation">conservés</td>
      <td class="abreviation">conservés</td>
      <td class="abreviation">conservés</td>
    </tr>
    <tr>
      <th scope="row">Marque du pluriel</th>
      <td class="abreviation">supprimée</td>
      <td class="abreviation">supprimée</td>
      <td class="abreviation">supprimée</td>
      <td class="abreviation">conservée</td>
      <td class="abreviation">conservée (quelques exceptions)</td>
      <td class="abreviation">conservée</td>
    </tr>
    <tr>
      <th scope="row">Balise</th>
      <td class="abreviation"><code>abbr</code></td>
      <td class="abreviation"><code>abbr</code></td>
      <td class="abreviation"><del>acronym</del> <ins><abbr class="small-caps">H.T.M.L.</abbr> 5 : abbr</ins></td>
      <td class="abreviation">aucune</td>
      <td class="abreviation"><code>abbr</code></td>
      <td class="abreviation">aucune</td>
    </tr>
    <tr>
      <th scope="row">Attribut <code>title</code></th>
      <td class="abreviation">non</td>
      <td class="abreviation">oui</td>
      <td class="abreviation">non</td>
      <td class="abreviation"><abbr title="non applicable">n. a.</abbr></td>
      <td class="abreviation">oui</td>
      <td class="abreviation"><abbr title="non applicable">n. a.</abbr></td>
    </tr>
  </tbody>
</table>

<!--
<h1>Comment réduire un groupe de mots (ou un mot) ?</h1>

<input type="checkbox" id="ecriture" />
<label for="ecriture">Le groupe de mots (ou le mot) est réduit à l’écriture</label>
<br>

<input type="checkbox" id="prononciation" />
<label for="prononciation">Le groupe de mots (ou le mot) est réduit à la prononciation</label>
<br>

<input type="checkbox" id="mesure" />
<label for="mesure">Le groupe de mots (ou le mot) est une unité de mesure</label>
<br>

<input type="checkbox" id="epellation" />
<label for="epellation">L’abréviation s’épelle</label>
<br>

<input type="checkbox" id="mot" />
<label for="mot">L’abréviation se prononce comme un mot</label>
<br>
-->
              
            
!

CSS

              
                body {
  margin: 1rem;
  line-height: 1.5rem;
}

table {
  background-color: white;
  border-collapse : collapse;
  table-layout: fixed;
}

td,
th {
  padding: 0.5rem;
  border: 2px solid white;
  background-color: transparentize(black, 0.9);
  vertical-align: top;
}

th {
  background-color: transparent;
}

.small-caps {
  font-variant: small-caps;
  font-size: small;
  
  sup,
  sub {
    font-variant: none;
  }
}

abbr[title] {
  text-decoration-style: dotted;
  border-bottom: none;
}

/*
td {
  position: relative;
  
  &:hover {
    &:before,
    &:after {
      content: '';
      background-color: transparentize(black, 0.9);
      position: absolute;
      pointer-events: none;
      bottom: 0;
    }
    
    &:before {
      right: 0;
      left: 0;
      height: 2000rem;
    }
    &:after {
      right: 100%;
      top: 0;
      width: 2000rem;
    }  
  }
}
*/
              
            
!

JS

              
                /*
Sources :

- http://www.druide.com/enquetes/pour-les-cingl%C3%A9s-des-sigles-et-les-accros-des-acronymes
- http://ameliorersonfrancais.com/grammaire/abreviation/abreviations-acronymes-sigles-symboles/
- https://fr.wikipedia.org/wiki/Acronymie
- https://fr.wikipedia.org/wiki/Sigle
- https://fr.wikipedia.org/wiki/Abr%C3%A9viation
- http://www.orthotypographie.fr/volume-I/abreviations-01.html
- http://www.orthotypographie.fr/volume-II/saint-symbole.html#Sigle
- http://www.orthotypographie.fr/volume-I/accolade-allemand.html#Acronyme
- http://www.orthotypographie.fr/volume-II/telegramme-troncation.html#Troncation

- Le Ramat de la typographie
- Lexique des règles typographiques
*/
              
            
!
999px

Console