aboutsummaryrefslogtreecommitdiff
path: root/files/fr/web/svg/element/clippath/index.html
diff options
context:
space:
mode:
authorSphinxKnight <SphinxKnight@users.noreply.github.com>2021-11-01 07:45:47 +0100
committerGitHub <noreply@github.com>2021-11-01 07:45:47 +0100
commite7f1d07cba1f78b72eb43bfcdabc262359c4991a (patch)
tree04dbbcb9a5ed0ccf1cfb31bdce6a7ab9a5866be8 /files/fr/web/svg/element/clippath/index.html
parentaab1606ed15d15bb1dc3a73f33dd60b7230e77fa (diff)
downloadtranslated-content-e7f1d07cba1f78b72eb43bfcdabc262359c4991a.tar.gz
translated-content-e7f1d07cba1f78b72eb43bfcdabc262359c4991a.tar.bz2
translated-content-e7f1d07cba1f78b72eb43bfcdabc262359c4991a.zip
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
Diffstat (limited to 'files/fr/web/svg/element/clippath/index.html')
-rw-r--r--files/fr/web/svg/element/clippath/index.html10
1 files changed, 4 insertions, 6 deletions
diff --git a/files/fr/web/svg/element/clippath/index.html b/files/fr/web/svg/element/clippath/index.html
index 60707ba146..8ff3ec5a54 100644
--- a/files/fr/web/svg/element/clippath/index.html
+++ b/files/fr/web/svg/element/clippath/index.html
@@ -12,10 +12,9 @@ translation_of: Web/SVG/Element/clipPath
<p>Le détourage limite la zone dans laquelle l'élément sur lequel il est appliqué sera dessiné. Autrement dit, les parties de l'élément en dehors de la forme créée par le détourage ne seront pas affichées.</p>
-<div id="Example">
-<div class="hidden">
-<pre class="brush: css">html,body,svg { height:100% }</pre>
-</div>
+<h2>Exemple</h2>
+
+<pre class="brush: css hidden">html,body,svg { height:100% }</pre>
<pre class="brush: html">&lt;svg viewBox="0 0 100 100"&gt;
  &lt;clipPath id="myClip"&gt;
@@ -42,8 +41,7 @@ translation_of: Web/SVG/Element/clipPath
animation: openYourHeart 15s infinite;
}</pre>
-<p>{{EmbedLiveSample('Example', 100, 100)}}</p>
-</div>
+<p>{{EmbedLiveSample('exemple', 100, 100)}}</p>
<p>Sur le plan conceptuel, un détourage est un peu comme une zone d'affichage personnalisée pour l'élément sur lequel il est appliqué. Cela va limiter la zone dans laquelle l'élément est affiché, sans affecter sa géométrie (position, taille, etc).</p>