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 --- files/fr/web/svg/element/line/index.html | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'files/fr/web/svg/element/line') diff --git a/files/fr/web/svg/element/line/index.html b/files/fr/web/svg/element/line/index.html index c80dd0aeed..d5adf5895e 100644 --- a/files/fr/web/svg/element/line/index.html +++ b/files/fr/web/svg/element/line/index.html @@ -18,17 +18,18 @@ translation_of: Web/SVG/Element/line

{{svginfo}}

-

Exemple

+

Exemple

-

» line.svg

+ -

Vous pouvez aussi appliquer une transformation pour avoir le même résultat. En commençant avec une ligne normale,

+
<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg">
+  <line x1="0" y1="80" x2="100" y2="20" stroke="black" />
 
-

» line1.svg

+ <!-- Si on n'indique pas stroke, la ligne de couleur + ne sera pas visible --> +</svg>
-

ajoutez des options de transformation pour changer la direction de la ligne :

- -

» line2.svg

+

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

Attributs

-- cgit v1.2.3-54-g00ecf