aboutsummaryrefslogtreecommitdiff
path: root/files/fr/web/css/scroll-margin-right/index.html
blob: 40c8d6a09111e64c9697178f9fbc867471bcf41e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
---
title: scroll-margin-right
slug: Web/CSS/scroll-margin-right
tags:
  - CSS
  - Propriété
  - Reference
translation_of: Web/CSS/scroll-margin-right
---
<div>{{CSSRef}}</div>

<p>La propriété <strong><code>scroll-margin-right</code></strong> définit la marge de défilement de l'élément sur le côté droit. 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>

<div>{{EmbedInteractiveExample("pages/css/scroll-margin-right.html")}}</div>

<h2 id="Syntaxe">Syntaxe</h2>

<pre class="brush: css">/* Valeurs de longueur */
/* Type &lt;length&gt; */
scroll-margin-right: 10px;
scroll-margin-right: 1em;

/* Valeurs globales */
scroll-margin-right: inherit;
scroll-margin-right: initial;
scroll-margin-right: unset;
</pre>

<h3 id="Valeurs">Valeurs</h3>

<dl>
 <dt><code>&lt;length&gt;</code></dt>
 <dd>Un décalage par rapport au côté correspondant du conteneur de défilement.</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-right", "scroll-margin-right")}}</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-right")}}</p>