aboutsummaryrefslogtreecommitdiff
path: root/files/fr/web/css/attr()
diff options
context:
space:
mode:
authorSphinxKnight <SphinxKnight@users.noreply.github.com>2021-09-17 20:15:31 +0200
committerGitHub <noreply@github.com>2021-09-17 20:15:31 +0200
commit3335211db9ecb67dc0ccd9c4a7c1eb607ffe359f (patch)
tree09fe8f8a5fae5235b62918e8b7161fd34480b8d0 /files/fr/web/css/attr()
parent3518481e9190f19bbf81741704f45cb3c1761758 (diff)
downloadtranslated-content-3335211db9ecb67dc0ccd9c4a7c1eb607ffe359f.tar.gz
translated-content-3335211db9ecb67dc0ccd9c4a7c1eb607ffe359f.tar.bz2
translated-content-3335211db9ecb67dc0ccd9c4a7c1eb607ffe359f.zip
Prepare CSS section for Markdown conversion (#2307)
* Removes summary / seoSummary classes * Remove div class=hidden and some notranslate * Remove hidden paragraphs for live sample * Remove hidden paragraphs for live sample - take 2 * Remove other hidden div and p - updated w/ en-US when necessary * Remove ids * Remove notranslate class * Fix typo which broke build * remove div class='index' * remove useless <span style=...> * remove non typographical sups * remove non typographical subs * remove blockindicator and fix some div.note * fix build :/ * remove useless classes * fix build - again :x * fix unhandled elements 1/N + embedlivesample build fail * fix div.warning * Fix fixable flaws - hoping to reduce error conversion * Remove unecessary images (same as en-US) * fix div notes * fix warnings * fix some dl handling * fix dls * Fix a bunch of conversion errors * rm unhandled figures * Fix other set of issues and revamp easing-function page * Fix some one-offs conversion errors (incl. deki files) * fix the rest of one-off conversion issues * Fix last dl standing
Diffstat (limited to 'files/fr/web/css/attr()')
-rw-r--r--files/fr/web/css/attr()/index.html18
1 files changed, 8 insertions, 10 deletions
diff --git a/files/fr/web/css/attr()/index.html b/files/fr/web/css/attr()/index.html
index cb6a859554..1a026e67da 100644
--- a/files/fr/web/css/attr()/index.html
+++ b/files/fr/web/css/attr()/index.html
@@ -11,7 +11,7 @@ translation_of: Web/CSS/attr()
<p>La fonction <strong><code>attr()</code></strong> est utilisée afin de récupérer la valeur d'un attribut d'un élément pour l'utiliser dans la feuille de style. Cette fonction peut également être utilisée sur <a href="/fr/docs/Web/CSS/Pseudo-elements">les pseudo-éléments</a> auquel cas c'est la valeur correspondant à l'élément source qui est renvoyée.</p>
-<pre class="brush:css no-line-numbers notranslate">/* Utilisation simple */
+<pre class="brush:css no-line-numbers">/* Utilisation simple */
attr(data-count);
attr(title);
@@ -168,11 +168,11 @@ attr(data-something, "default");
<h4 id="HTML">HTML</h4>
-<pre class="brush: html; notranslate">&lt;p data-toto="coucou"&gt;world&lt;/p&gt;</pre>
+<pre class="brush: html;">&lt;p data-toto="coucou"&gt;world&lt;/p&gt;</pre>
<h4 id="CSS">CSS</h4>
-<pre class="brush: css; highlight[2] notranslate">[data-toto]::before {
+<pre class="brush: css">[data-toto]::before {
content: attr(data-toto) " ";
}</pre>
@@ -186,19 +186,17 @@ attr(data-something, "default");
<h4 id="HTML_2">HTML</h4>
-<pre class="brush: html; notranslate">&lt;div class="background" data-background="lime"&gt;&lt;/div&gt;</pre>
+<pre class="brush: html;">&lt;div class="background" data-background="lime"&gt;&lt;/div&gt;</pre>
<h4 id="CSS_2">CSS</h4>
-<div class="hidden">
-<pre class="brush: css; notranslate">html,
+<pre class="brush: css;">html,
body,
.background {
height: 100vh;
}</pre>
-</div>
-<pre class="brush: css; highlight[6] notranslate">.background {
+<pre class="brush: css">.background {
background-color: red;
}
@@ -246,7 +244,7 @@ body,
<h2 id="Voir_aussi">Voir aussi</h2>
<ul>
- <li><a href="/fr/docs/Web/CSS/Sélecteurs_d_attribut">Sélecteur d'attribut</a></li>
- <li><a href="/fr/docs/Web/HTML/Attributs_universels/data-*">Attributs HTML <code>data-*</code></a></li>
+ <li><a href="/fr/docs/Web/CSS/Attribute_selectors">Sélecteur d'attribut</a></li>
+ <li><a href="/fr/docs/Web/HTML/Global_attributes/data-*">Attributs HTML <code>data-*</code></a></li>
<li><a href="/fr/docs/Web/SVG/Attribute/data-*">Attributs SVG <code>data-*</code></a></li>
</ul>