From 149319bb8c7b1394a443f0877c3460cd362aa815 Mon Sep 17 00:00:00 2001 From: julieng Date: Fri, 17 Sep 2021 20:58:15 +0200 Subject: move *.html to *.md --- files/fr/web/css/hanging-punctuation/index.html | 127 ------------------------ 1 file changed, 127 deletions(-) delete mode 100644 files/fr/web/css/hanging-punctuation/index.html (limited to 'files/fr/web/css/hanging-punctuation/index.html') diff --git a/files/fr/web/css/hanging-punctuation/index.html b/files/fr/web/css/hanging-punctuation/index.html deleted file mode 100644 index 02e0d2bafc..0000000000 --- a/files/fr/web/css/hanging-punctuation/index.html +++ /dev/null @@ -1,127 +0,0 @@ ---- -title: hanging-punctuation -slug: Web/CSS/hanging-punctuation -tags: - - CSS - - Experimental - - Propriété - - Reference -translation_of: Web/CSS/hanging-punctuation ---- -
{{CSSRef}}{{SeeCompatTable}}
- -

La propriété hanging-punctuation indique si un signe de ponctuation se situant au début ou à la fin d'une ligne de texte doit rester sur cette ligne, quitte à sortir de la boîte qui représente la ligne.

- -
/* Valeurs avec un mot-clé */
-hanging-punctuation: none;
-hanging-punctuation: first;
-hanging-punctuation: last;
-hanging-punctuation: force-end;
-hanging-punctuation: allow-end;
-
-/* Valeurs avec deux mots-clés */
-hanging-punctuation: first force-end;
-hanging-punctuation: first allow-end;
-hanging-punctuation: first last;
-hanging-punctuation: last force-end;
-hanging-punctuation: last allow-end;
-
-/* Valeurs avec trois mots-clés */
-hanging-punctuation: first force-end last;
-hanging-punctuation: first allow-end last;
-
-/* Valeurs globales */
-hanging-punctuation: inherit;
-hanging-punctuation: initial;
-hanging-punctuation: unset;
-
- -

Syntaxe

- -

Cette propriété peut être définie grâce à une, deux ou trois valeurs :

- - - -

Valeurs

- -
-
none
-
Aucun caractère ne reste suspendu sur la ligne.
-
first
-
Une parenthèse ou des guillemets ouvrants au début de la première ligne d'un texte restent sur la ligne.
-
last
-
Une parenthèse ou des guillemets fermants à la fin de la dernière ligne d'un texte restent sur la ligne.
-
force-end
-
Un point ou une virgule en fin de ligne restera sur cette ligne.
-
allow-end
-
Un point ou une virgule en fin de ligne restera sur cette ligne si la justification du texte ne laisse pas l'espace nécessaire.
-
- -

Syntaxe formelle

- -{{csssyntax}} - -

Exemples

- -

HTML

- -
<p>
-   Lorem ipsum dolor sit amet, consectetur
-   adipiscing elit. Curabitur dignissim nunc
-   mauris, et sollicitudin est scelerisque
-   sed. Praesent laoreet tortor massa, sit
-   amet vulputate nulla pharetra ut. Proin
-   ornare commodo sodales. Class aptent
-   taciti sociosqu ad litora torquent per
-   conubia nostra, per inceptos himenaeos.
-</p>
- -

CSS

- -
p {
-  hanging-punctuation: first;
-  margin: .5rem;
-}
- -

Résultat

- -

{{EmbedLiveSample('Exemple')}}

- -

Spécifications

- - - - - - - - - - - - - - - - -
SpécificationÉtatCommentaires
{{SpecName('CSS3 Text', '#hanging-punctuation-property', 'hanging-punctuation')}}{{Spec2('CSS3 Text')}}Définition initiale.
- -

{{cssinfo}}

- -

Compatibilité des navigateurs

- -

{{Compat("css.properties.hanging-punctuation")}}

-- cgit v1.2.3-54-g00ecf