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/margin-block-end/index.html | 109 --------------------------- files/fr/web/css/margin-block-end/index.md | 109 +++++++++++++++++++++++++++ 2 files changed, 109 insertions(+), 109 deletions(-) delete mode 100644 files/fr/web/css/margin-block-end/index.html create mode 100644 files/fr/web/css/margin-block-end/index.md (limited to 'files/fr/web/css/margin-block-end') diff --git a/files/fr/web/css/margin-block-end/index.html b/files/fr/web/css/margin-block-end/index.html deleted file mode 100644 index 92547fd248..0000000000 --- a/files/fr/web/css/margin-block-end/index.html +++ /dev/null @@ -1,109 +0,0 @@ ---- -title: margin-block-end -slug: Web/CSS/margin-block-end -tags: - - CSS - - Experimental - - Propriété - - Reference -translation_of: Web/CSS/margin-block-end ---- -
{{CSSRef}}{{SeeCompatTable}}
- -

La propriété margin-block-end définit la marge logique appliquée à la fin des éléments de bloc, selon le mode d'écriture, la directionnalité et l'orientation du texte. Selon les valeurs utilisées pour {{cssxref("writing-mode")}}, {{cssxref("direction")}}, and {{cssxref("text-orientation")}}, elle peut correspondre à {{cssxref("margin-top")}}, {{cssxref("margin-right")}}, {{cssxref("margin-bottom")}} ou {{cssxref("margin-left")}}.

- -
{{EmbedInteractiveExample("pages/css/margin-block-end.html")}}
Cette propriété est à rapprocher de {{cssxref("margin-block-start")}}, {{cssxref("margin-inline-end")}} et de {{cssxref("margin-inline-start")}} qui définissent les autres marges appliquées à l'élément.

- -

Syntaxe

- -
/* Valeurs de longueur */
-/* Type <length>       */
-margin-block-end: 10px;      /* Une longueur absolue */
-margin-block-end: 1em;       /* Une longueur relative à la taille du texte */
-margin-block-end: 5%;        /* Une largeur relative à la
-                                   largeur du bloc englobant */
-
-/* Valeurs avec un mot-clé */
-margin-block-end: auto;
-
-/* Valeurs globales */
-margin-block-end: inherit;
-
- -

Valeurs

- -

La propriété margin-block-end peut prendre les mêmes valeurs que la propriété {{cssxref("margin-left")}}.

- -

Syntaxe formelle

- -{{csssyntax}} - -

Exemples

- -

CSS

- -
div {
-  background-color: yellow;
-  width: 120px;
-  height: 120px;
-}
-
-.exemple {
-  writing-mode: vertical-lr;
-  margin-block-end: 20px;
-  background-color: #c8c800;
-}
- -

HTML

- -
<div>
-  <p class="exemple">Texte d'exemple</p>
-</div>
-
- -

Résultat

- -

{{EmbedLiveSample("Exemples", 140, 140)}}

- -

Spécifications

- - - - - - - - - - - - - - - - -
SpécificationÉtatCommentaires
{{SpecName("CSS Logical Properties", "#propdef-margin-block-end", "margin-block-end")}}{{Spec2("CSS Logical Properties")}}Définition initiale.
- -

{{cssinfo}}

- -

Compatibilité des navigateurs

- -

{{Compat("css.properties.margin-block-end")}}

- -

Voir aussi

- - diff --git a/files/fr/web/css/margin-block-end/index.md b/files/fr/web/css/margin-block-end/index.md new file mode 100644 index 0000000000..92547fd248 --- /dev/null +++ b/files/fr/web/css/margin-block-end/index.md @@ -0,0 +1,109 @@ +--- +title: margin-block-end +slug: Web/CSS/margin-block-end +tags: + - CSS + - Experimental + - Propriété + - Reference +translation_of: Web/CSS/margin-block-end +--- +
{{CSSRef}}{{SeeCompatTable}}
+ +

La propriété margin-block-end définit la marge logique appliquée à la fin des éléments de bloc, selon le mode d'écriture, la directionnalité et l'orientation du texte. Selon les valeurs utilisées pour {{cssxref("writing-mode")}}, {{cssxref("direction")}}, and {{cssxref("text-orientation")}}, elle peut correspondre à {{cssxref("margin-top")}}, {{cssxref("margin-right")}}, {{cssxref("margin-bottom")}} ou {{cssxref("margin-left")}}.

+ +
{{EmbedInteractiveExample("pages/css/margin-block-end.html")}}
Cette propriété est à rapprocher de {{cssxref("margin-block-start")}}, {{cssxref("margin-inline-end")}} et de {{cssxref("margin-inline-start")}} qui définissent les autres marges appliquées à l'élément.

+ +

Syntaxe

+ +
/* Valeurs de longueur */
+/* Type <length>       */
+margin-block-end: 10px;      /* Une longueur absolue */
+margin-block-end: 1em;       /* Une longueur relative à la taille du texte */
+margin-block-end: 5%;        /* Une largeur relative à la
+                                   largeur du bloc englobant */
+
+/* Valeurs avec un mot-clé */
+margin-block-end: auto;
+
+/* Valeurs globales */
+margin-block-end: inherit;
+
+ +

Valeurs

+ +

La propriété margin-block-end peut prendre les mêmes valeurs que la propriété {{cssxref("margin-left")}}.

+ +

Syntaxe formelle

+ +{{csssyntax}} + +

Exemples

+ +

CSS

+ +
div {
+  background-color: yellow;
+  width: 120px;
+  height: 120px;
+}
+
+.exemple {
+  writing-mode: vertical-lr;
+  margin-block-end: 20px;
+  background-color: #c8c800;
+}
+ +

HTML

+ +
<div>
+  <p class="exemple">Texte d'exemple</p>
+</div>
+
+ +

Résultat

+ +

{{EmbedLiveSample("Exemples", 140, 140)}}

+ +

Spécifications

+ + + + + + + + + + + + + + + + +
SpécificationÉtatCommentaires
{{SpecName("CSS Logical Properties", "#propdef-margin-block-end", "margin-block-end")}}{{Spec2("CSS Logical Properties")}}Définition initiale.
+ +

{{cssinfo}}

+ +

Compatibilité des navigateurs

+ +

{{Compat("css.properties.margin-block-end")}}

+ +

Voir aussi

+ + -- cgit v1.2.3-54-g00ecf