diff options
Diffstat (limited to 'files/fr/web/css/background-attachment/index.html')
-rw-r--r-- | files/fr/web/css/background-attachment/index.html | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/files/fr/web/css/background-attachment/index.html b/files/fr/web/css/background-attachment/index.html index 549d4d3cc6..a047e44575 100644 --- a/files/fr/web/css/background-attachment/index.html +++ b/files/fr/web/css/background-attachment/index.html @@ -13,8 +13,6 @@ translation_of: Web/CSS/background-attachment <div>{{EmbedInteractiveExample("pages/css/background-attachment.html")}}</div> -<p class="hidden">Le code source de cet exemple interactif est disponible dans un dépôt GitHub. Si vous souhaitez contribuez à ces exemples, n'hésitez pas à cloner <a href="https://github.com/mdn/interactive-examples">https://github.com/mdn/interactive-examples</a> et à envoyer une <em>pull request</em> !</p> - <h2 id="Syntaxe">Syntaxe</h2> <pre class="brush: css no-line-numbers">/* Valeurs avec un mot-clé */ @@ -51,7 +49,7 @@ background-attachment: unset; <h4 id="CSS">CSS</h4> -<pre class="brush:css; highlight:[3];">p { +<pre class="brush:css">p { background-image: url("https://mdn.mozillademos.org/files/12057/starsolid.gif"); background-attachment: fixed; } @@ -76,7 +74,7 @@ background-attachment: unset; <h4 id="CSS_2">CSS</h4> -<pre class="brush:css; highlight:[3];">p { +<pre class="brush:css">p { background-image: url("https://mdn.mozillademos.org/files/12057/starsolid.gif"), url("https://mdn.mozillademos.org/files/12059/startransparent.gif"); background-attachment: fixed, scroll; background-repeat: no-repeat, repeat-y; |