aboutsummaryrefslogtreecommitdiff
path: root/files
diff options
context:
space:
mode:
authorJb Audras <audrasjb@gmail.com>2021-07-27 06:48:54 +0200
committerGitHub <noreply@github.com>2021-07-27 06:48:54 +0200
commitad402a9c7727753e158607678e2a853351b75414 (patch)
tree1df4f0f9e5648d223a2d717e75977730757027ca /files
parent2407ecd100f728c85f7f637931f0347eecda3954 (diff)
downloadtranslated-content-ad402a9c7727753e158607678e2a853351b75414.tar.gz
translated-content-ad402a9c7727753e158607678e2a853351b75414.tar.bz2
translated-content-ad402a9c7727753e158607678e2a853351b75414.zip
Create a French translation for CSS `:local-link` pseudo class reference. (#1711)
* Initial FR translation * Minor indent fix / no spacing for macros Spaces (2) rather than tabs and macros are most of the time called without spaces between curly braces (though that doesn't change the result in anyway) * missing space Co-authored-by: SphinxKnight <SphinxKnight@users.noreply.github.com>
Diffstat (limited to 'files')
-rw-r--r--files/fr/web/css/_colon_local-link/index.html52
1 files changed, 52 insertions, 0 deletions
diff --git a/files/fr/web/css/_colon_local-link/index.html b/files/fr/web/css/_colon_local-link/index.html
new file mode 100644
index 0000000000..9f86e4fbd7
--- /dev/null
+++ b/files/fr/web/css/_colon_local-link/index.html
@@ -0,0 +1,52 @@
+---
+title: ':local-link'
+slug: 'Web/CSS/:local-link'
+browser-compat: css.selectors.local-link
+translation_of: Web/CSS/:local-link
+---
+<p>{{CSSRef}}</p>
+
+<p>La <a href="/fr/docs/Web/CSS/Pseudo-classes">pseudo-classe</a> <a href="/fr/docs/Web/CSS">CSS</a> <strong><code>:local-link</code></strong> représente un lien vers le même document. Il s'agit donc d'un élément qui est l'ancre source d'un lien hypertexte dont la cible est une URL absolue correspondant à l'URL du document contenant l'élément.</p>
+
+<pre>/* Sélectionne n'importe quel &lt;a&gt; ciblant le document courant */
+a:local-link {
+ color: green;
+}
+</pre>
+
+<h2 id="Syntax">Syntaxe</h2>
+
+<p>{{csssyntax}}</p>
+
+<h2 id="Examples">Exemples</h2>
+
+<h3 id="HTML">HTML</h3>
+
+<pre class="brush: html">&lt;a href="#target"&gt;Voici un lien vers la page courante.&lt;/a&gt;&lt;br&gt;
+&lt;a href="https://example.com"&gt;Voici un lien externe&lt;/a&gt;&lt;br&gt;
+</pre>
+
+<h3 id="CSS">CSS</h3>
+
+<pre class="brush: css">a:local-link {
+ color: green;
+}
+</pre>
+
+<h3 id="Result">Résultat</h3>
+
+<p>{{EmbedLiveSample("Examples")}}</p>
+
+<h2 id="Specifications">Spécifications</h2>
+
+<p>{{Specifications}}</p>
+
+<h2 id="Browser_compatibility">Compatibilité des navigateurs</h2>
+
+<p>{{Compat}}</p>
+
+<h2 id="See_also">Voir aussi</h2>
+
+<ul>
+ <li>Pseudo-classes relatives aux liens : {{cssxref(":link")}}, {{cssxref(":visited")}}, {{cssxref(":hover")}}, {{cssxref(":active")}}</li>
+</ul>