diff options
| author | julieng <julien.gattelier@gmail.com> | 2021-09-17 20:58:15 +0200 |
|---|---|---|
| committer | SphinxKnight <SphinxKnight@users.noreply.github.com> | 2021-10-12 07:57:33 +0200 |
| commit | 149319bb8c7b1394a443f0877c3460cd362aa815 (patch) | |
| tree | d534abb0cbc87d5e224836e9d6b888aa58564aa0 /files/fr/web/css/scroll-margin/index.html | |
| parent | eb9de0363cb273b54d3f5402bbf4e3bc03c60971 (diff) | |
| download | translated-content-149319bb8c7b1394a443f0877c3460cd362aa815.tar.gz translated-content-149319bb8c7b1394a443f0877c3460cd362aa815.tar.bz2 translated-content-149319bb8c7b1394a443f0877c3460cd362aa815.zip | |
move *.html to *.md
Diffstat (limited to 'files/fr/web/css/scroll-margin/index.html')
| -rw-r--r-- | files/fr/web/css/scroll-margin/index.html | 65 |
1 files changed, 0 insertions, 65 deletions
diff --git a/files/fr/web/css/scroll-margin/index.html b/files/fr/web/css/scroll-margin/index.html deleted file mode 100644 index e26d030e58..0000000000 --- a/files/fr/web/css/scroll-margin/index.html +++ /dev/null @@ -1,65 +0,0 @@ ---- -title: scroll-margin -slug: Web/CSS/scroll-margin -tags: - - CSS - - Propriété - - Propriété raccourcie - - Reference -translation_of: Web/CSS/scroll-margin ---- -<div>{{CSSRef}}</div> - -<p>La propriété <code>scroll-margin</code> est une propriété raccourcie qui permet de définir l'ensemble des propriétés <code>scroll-margin-top</code>, <code>scroll-margin-left</code>, <code>scroll-margin-bottom</code> et <code>scroll-margin-right</code> (de la même façon que la propriété <code>margin</code> définit les différents côtés des marges).</p> -<div>{{EmbedInteractiveExample("pages/css/scroll-margin.html")}}</div> - -<p>Les valeurs de <code>scroll-margin</code> correspondent aux décalages entre la zone qui est utilisée pour définir les limites du défilement de la boîtes et la zone de défilement normale (<em>snapport</em>). La zone de défilement est déterminée en prenant la boîte de bordure modifiée, en prenant le rectangle englobant puis en ajoutant les décalages indiqués.</p> - -<h2 id="Syntaxe">Syntaxe</h2> - -<pre class="brush: css">/* Valeur de longueur */ -/* Type <length> */ -scroll-margin: 10px; -scroll-margin: 1em .5em 1em 1em; - -/* Valeurs globales */ -scroll-margin: inherit; -scroll-margin: initial; -scroll-margin: unset; -</pre> - -<h3 id="Valeurs">Valeurs</h3> - -<dl> - <dt><code><length></code></dt> - <dd>Un décalage par rapport au côté correspondant pour le conteneur de défilement. Voir {{cssxref("<length>")}} pour les valeurs possibles.</dd> -</dl> - -<h3 id="Syntaxe_formelle">Syntaxe formelle</h3> - -{{csssyntax}} - -<h2 id="Spécifications">Spécifications</h2> - -<table class="standard-table"> - <thead> - <tr> - <th scope="col">Spécification</th> - <th scope="col">État</th> - <th scope="col">Commentaires</th> - </tr> - </thead> - <tbody> - <tr> - <td>{{SpecName("CSS Scroll Snap Points", "#propdef-scroll-margin", "scroll-margin")}}</td> - <td>{{Spec2("CSS Scroll Snap Points")}}</td> - <td>Définition initiale.</td> - </tr> - </tbody> -</table> - -<p>{{cssinfo}}</p> - -<h2 id="Compatibilité_des_navigateurs">Compatibilité des navigateurs</h2> - -<p>{{Compat("css.properties.scroll-margin")}}</p> |
