diff options
author | julieng <julien.gattelier@gmail.com> | 2021-09-17 20:59:20 +0200 |
---|---|---|
committer | SphinxKnight <SphinxKnight@users.noreply.github.com> | 2021-10-12 07:57:33 +0200 |
commit | 258ba7b4be62d8640477a3bd3146d08b00cb70ec (patch) | |
tree | a8476eee4c369ff47bdfe08353774414f2281ba3 /files/fr/web/css/@font-face/font-family | |
parent | 149319bb8c7b1394a443f0877c3460cd362aa815 (diff) | |
download | translated-content-258ba7b4be62d8640477a3bd3146d08b00cb70ec.tar.gz translated-content-258ba7b4be62d8640477a3bd3146d08b00cb70ec.tar.bz2 translated-content-258ba7b4be62d8640477a3bd3146d08b00cb70ec.zip |
convert content to md
Diffstat (limited to 'files/fr/web/css/@font-face/font-family')
-rw-r--r-- | files/fr/web/css/@font-face/font-family/index.md | 59 |
1 files changed, 23 insertions, 36 deletions
diff --git a/files/fr/web/css/@font-face/font-family/index.md b/files/fr/web/css/@font-face/font-family/index.md index 35b4247f85..ba8d5abe86 100644 --- a/files/fr/web/css/@font-face/font-family/index.md +++ b/files/fr/web/css/@font-face/font-family/index.md @@ -7,61 +7,48 @@ tags: - Reference translation_of: Web/CSS/@font-face/font-family --- -<div>{{CSSRef}}</div> +{{CSSRef}} -<p>Le descripteur <strong><code>font-family</code></strong> permet aux auteurs d'un document de définir la police de caractères à utiliser au sein d'une règle @ {{cssxref("@font-face")}}.</p> +Le descripteur **`font-family`** permet aux auteurs d'un document de définir la police de caractères à utiliser au sein d'une règle @ {{cssxref("@font-face")}}. -<h2 id="Syntaxe">Syntaxe</h2> +## Syntaxe -<pre class="brush: css">/* Valeurs de chaînes de caractères */ -/* Type <string> */ +```css +/* Valeurs de chaînes de caractères */ +/* Type <string> */ font-family: "police de caractères a"; font-family: 'une autre police'; -/* Valeur de type <custom-ident> */ +/* Valeur de type <custom-ident> */ font-family: exemplepolice; -</pre> +``` -<h3 id="Valeurs">Valeurs</h3> +### Valeurs -<dl> - <dt><code><family-name></code></dt> - <dd>Définit le nom de la police de caractères.</dd> -</dl> +- `<family-name>` + - : Définit le nom de la police de caractères. -<h3 id="Syntaxe_formelle">Syntaxe formelle</h3> +### Syntaxe formelle {{csssyntax}} -<h2 id="Exemples">Exemples</h2> +## Exemples -<pre class="brush: css">@font-face { +```css +@font-face { font-family: exemplepolice; src: url('exemplepolice.ttf'); } -</pre> +``` -<h2 id="Spécifications">Spécifications</h2> +## Spécifications -<table class="standard-table"> - <thead> - <tr> - <th scope="col">Spécification</th> - <th scope="col">État</th> - <th scope="col">Commentaires</th> - </tr> - </thead> - <tbody> - <tr> - <td>{{SpecName('CSS3 Fonts', '#font-family-desc', 'font-family')}}</td> - <td>{{Spec2('CSS3 Fonts')}}</td> - <td>Définition initiale.</td> - </tr> - </tbody> -</table> +| Spécification | État | Commentaires | +| ------------------------------------------------------------------------------------ | -------------------------------- | -------------------- | +| {{SpecName('CSS3 Fonts', '#font-family-desc', 'font-family')}} | {{Spec2('CSS3 Fonts')}} | Définition initiale. | -<p>{{cssinfo}}</p> +{{cssinfo}} -<h2 id="Compatibilité_des_navigateurs">Compatibilité des navigateurs</h2> +## Compatibilité des navigateurs -<p>{{Compat("css.at-rules.font-face.font-family")}}</p> +{{Compat("css.at-rules.font-face.font-family")}} |