From e7f1d07cba1f78b72eb43bfcdabc262359c4991a Mon Sep 17 00:00:00 2001 From: SphinxKnight Date: Mon, 1 Nov 2021 07:45:47 +0100 Subject: Prepare SVG section for Markdown conversion (#2570) * Remove summary classes * Remove hidden classes out of pre * Remove spans * Remove notranslate class * Remove ids out of headings * missed 2 ids with regex * clean note and warning cards * fix headings errors * Fix dls and as * fix imgs * lint stuff (absolute urls, english links) * Temporarily readding file * delete inexisting doc in en-US with flaws * Fixes #2842 for SVG --- .../web/svg/attribute/stroke-dashoffset/index.html | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) (limited to 'files/fr/web/svg/attribute/stroke-dashoffset') diff --git a/files/fr/web/svg/attribute/stroke-dashoffset/index.html b/files/fr/web/svg/attribute/stroke-dashoffset/index.html index ef1bbc8db7..071512cffe 100644 --- a/files/fr/web/svg/attribute/stroke-dashoffset/index.html +++ b/files/fr/web/svg/attribute/stroke-dashoffset/index.html @@ -10,14 +10,16 @@ translation_of: Web/SVG/Attribute/stroke-dashoffset

L'attribut stroke-dashoffset décale la position de départ des pointillés sur les lignes SVG.

-

Note: stroke-dashoffset étant un attribut de présentation, il peut être utilisé comme propriété CSS.

+
+

Note : stroke-dashoffset étant un attribut de présentation, il peut être utilisé comme propriété CSS.

+

Cet attribut peut être appliqué sur tous les éléments, en revanche il n'aura d'effet que sur les éléments suivants: {{SVGElement('altGlyph')}}, {{SVGElement('circle')}}, {{SVGElement('ellipse')}}, {{SVGElement('path')}}, {{SVGElement('polygon')}}, {{SVGElement('polyline')}}, {{SVGElement('rect')}}, {{SVGElement('text')}}, {{SVGElement('textPath')}}, {{SVGElement('tref')}}, and {{SVGElement('tspan')}}

-
- +

Exemple

+ + +
<svg viewBox="-3 0 33 10" xmlns="http://www.w3.org/2000/svg">
   <!-- Pas de tiret -->
@@ -60,8 +62,7 @@ translation_of: Web/SVG/Attribute/stroke-dashoffset
 </svg>
 
-

{{EmbedLiveSample('topExample', '100%', 200)}}

-
+

{{EmbedLiveSample('exemple', '100%', 200)}}

Notes d'usage

@@ -69,7 +70,7 @@ translation_of: Web/SVG/Attribute/stroke-dashoffset Valeur - <percentage> | <length> + <percentage> | <length> Valeur par défaut @@ -82,9 +83,9 @@ translation_of: Web/SVG/Attribute/stroke-dashoffset -

Le décalage est généralement exprimé en unités résolues par {{SVGAttr('pathLength')}} mais si un <percentage> est utilisé, alors la valeur est résolue en pourcentage du viewport.

+

Le décalage est généralement exprimé en unités résolues par {{SVGAttr('pathLength')}} mais si un <percentage> est utilisé, alors la valeur est résolue en pourcentage du viewport.

-

Compatibilité des navigateurs

+

Compatibilité des navigateurs

{{Compat("svg.attributes.presentation.stroke-dashoffset")}}

-- cgit v1.2.3-54-g00ecf