diff options
Diffstat (limited to 'files/fr/web/css/padding-bottom/index.html')
| -rw-r--r-- | files/fr/web/css/padding-bottom/index.html | 116 |
1 files changed, 0 insertions, 116 deletions
diff --git a/files/fr/web/css/padding-bottom/index.html b/files/fr/web/css/padding-bottom/index.html deleted file mode 100644 index 4e2f06874c..0000000000 --- a/files/fr/web/css/padding-bottom/index.html +++ /dev/null @@ -1,116 +0,0 @@ ---- -title: padding-bottom -slug: Web/CSS/padding-bottom -tags: - - CSS - - Propriété - - Reference -translation_of: Web/CSS/padding-bottom ---- -<div>{{CSSRef}}</div> - -<p>La propriété <strong><code>padding-bottom</code></strong> d'un élément ajuste la hauteur de la boîte de remplissage (<em>padding</em>) en haut de l'élément. La <a href="/fr/Apprendre/CSS/Les_bases/Le_mod%C3%A8le_de_bo%C3%AEte">zone de remplissage</a> correspond à l'espace entre le contenu et la bordure. Contrairement à {{cssxref("margin-bottom")}}, <code>padding-bottom</code> ne peut pas recevoir de valeurs négatives.</p> - -<div>{{EmbedInteractiveExample("pages/css/padding-bottom.html")}}</div> - -<p>La propriété raccourcie {{cssxref("padding")}} permet de paramétrer les dimensions des quatre côtés de cette boîte (y compris <code>padding-bottom</code> donc).</p> - -<h2 id="Syntaxe">Syntaxe</h2> - -<pre class="brush:css no-line-numbers">/* Valeurs de longueur */ -/* Type <length> */ -padding-bottom: 0.5em; -padding-bottom: 0; -padding-bottom: 2cm; - -/* Valeurs de proportions */ -/* Type <percentage> */ -padding-bottom: 10%; - -/* Valeurs globales */ -padding-bottom: inherit; -padding-bottom: initial; -padding-bottom: unset; -</pre> - -<h3 id="Valeurs">Valeurs</h3> - -<dl> - <dt><code><length></code></dt> - <dd>Cette valeur définit une hauteur positive. Voir {{cssxref("<length>")}} pour plus de détails.</dd> - <dt><code><percentage></code></dt> - <dd>Un pourcentage en rapport avec la largeur du bloc englobant. Voir {{cssxref("<percentage>")}} pour plus de détails.</dd> -</dl> - -<h3 id="Syntaxe_formelle">Syntaxe formelle</h3> - -{{csssyntax}} - -<h2 id="Exemples">Exemples</h2> - -<h3 id="HTML">HTML</h3> - -<pre class="brush: html"><p class="padd"> - Elle n’avait pas bu la moitié de la bouteille, - que sa tête touchait au plafond et qu’elle fut - forcée de se baisser pour ne pas se casser le - cou. -</p></pre> - -<h3 id="CSS">CSS</h3> - -<pre class="brush: css">.padd { - padding-bottom: 5em; - border: solid 1px; -}</pre> - -<h3 id="Résultat">Résultat</h3> - -<p>{{EmbedLiveSample("Exemples","100%","100%")}}</p> - -<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('CSS3 Box', '#the-padding', 'padding-bottom')}}</td> - <td>{{Spec2('CSS3 Box')}}</td> - <td>Aucun changement depuis {{SpecName('CSS2.1', 'box.html#padding-properties', 'padding-bottom')}}.</td> - </tr> - <tr> - <td>{{SpecName('CSS3 Transitions', '#animatable-css', 'padding-bottom')}}</td> - <td>{{Spec2('CSS3 Transitions')}}</td> - <td><code>padding-bottom</code> peut désormais être animée.</td> - </tr> - <tr> - <td>{{SpecName('CSS2.1', 'box.html#padding-properties', 'padding-bottom')}}</td> - <td>{{Spec2('CSS2.1')}}</td> - <td>Aucun changement depuis {{Specname('CSS1', '#padding-bottom', 'padding-bottom')}}.</td> - </tr> - <tr> - <td>{{Specname('CSS1', '#padding-bottom', 'padding-bottom')}}</td> - <td>{{Spec2('CSS1')}}</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.padding-bottom")}}</p> - -<h2 id="Voir_aussi">Voir aussi</h2> - -<ul> - <li><a href="/fr/Apprendre/CSS/Introduction_à_CSS/Le_modèle_de_boîte">Le modèle de boîtes CSS</a></li> - <li>La propriété raccourcie {{cssxref("padding")}} qui permet de paramétrer <code>padding-bottom</code>, {{cssxref("padding-right")}}, {{cssxref("padding-top")}} et {{cssxref("padding-left")}}.</li> -</ul> |
