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/attribute/fill-opacity/index.html | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) (limited to 'files/fr/web/svg/attribute/fill-opacity') diff --git a/files/fr/web/svg/attribute/fill-opacity/index.html b/files/fr/web/svg/attribute/fill-opacity/index.html index f25676d26c..82e5f456c3 100644 --- a/files/fr/web/svg/attribute/fill-opacity/index.html +++ b/files/fr/web/svg/attribute/fill-opacity/index.html @@ -10,14 +10,15 @@ translation_of: Web/SVG/Attribute/fill-opacity

L'attribut fill-opacity définit l'opacité du remplissage (couleur, dégradé, motif, etc) appliqué à une forme.

-

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

+
+

Note : fill-opacity é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')}}, et {{SVGElement('tspan')}}

-
- +

Exemple

+ +
<svg viewBox="0 0 400 100" xmlns="http://www.w3.org/2000/svg">
   <!-- Opacité par défaut: 1 -->
@@ -36,8 +37,7 @@ translation_of: Web/SVG/Attribute/fill-opacity
           style="fill-opacity: .25;" />
 </svg>
-

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

-
+

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

Notes d'utilisation

@@ -58,7 +58,9 @@ translation_of: Web/SVG/Attribute/fill-opacity -

Note: SVG2 introduit les valeurs en pourcentage pour fill-opacity. Cependant,  ce n'est pas souvent pris en charge pour le moment (Voir {{anch('Compatibilité des navigateurs')}} ci-dessous). Il est par conséquent recommandé d'utiiser les valeurs de l'intervalle [0-1].

+
+

Note : SVG2 introduit les valeurs en pourcentage pour fill-opacity. Cependant,  ce n'est pas souvent pris en charge pour le moment (Voir {{anch('Compatibilité des navigateurs')}} ci-dessous). Il est par conséquent recommandé d'utiliser les valeurs de l'intervalle [0-1].

+

Compatibilité des navigateurs

-- cgit v1.2.3-54-g00ecf