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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
|
---
title: padding-bottom
slug: Web/CSS/padding-bottom
translation_of: Web/CSS/padding-bottom
---
<p>{{CSSRef}}</p>
<h2 id="Sumario">Sumario</h2>
<p>La propiedad <strong><code>padding-bottom</code></strong> <a href="https://developer.mozilla.org/en/CSS" title="CSS">CSS</a> establece el espacio de relleno requerido en la parte inferior del elemento. El <a href="https://developer.mozilla.org/en/CSS/box_model#padding">área de padding</a> es el espacio entre el contenido del elemento y su borde. Contrariamente de la propiedad <strong><code>margin-bottom</code></strong>, valores negativos no son válidos.</p>
<p>{{cssinfo}}</p>
<h2 id="Sintaxis">Sintaxis</h2>
<pre class="brush:css">/* <length> values (Valores fijos)*/
padding-bottom: 0.5em;
padding-bottom: 0;
padding-bottom: 2cm;
/* <percentage> value (Valores porcentuales)*/
padding-bottom: 10%;
/* Global values (Valores globales)*/
padding-bottom: inherit;
padding-bottom: initial;
padding-bottom: unset;
</pre>
<h3 id="Valores">Valores</h3>
<dl>
<dt><length></dt>
<dd>Especifica un valor positivo fijo. Veáse {{cssxref("<length>")}} para más detalles.</dd>
<dt><percentage></dt>
<dd>Especifica un porcentaje con respecto al bloque que lo contiene.</dd>
</dl>
<h3 id="Sintaxis_formal">Sintaxis formal</h3>
{{csssyntax}}
<h2 id="Ejemplos">Ejemplos</h2>
<pre class="eval">.content { padding-bottom: 5%; }
.sidebox { padding-bottom: 10px; }
</pre>
<h2 id="Especificaciones">Especificaciones</h2>
<table class="standard-table">
<thead>
<tr>
<th scope="col">Especificación</th>
<th scope="col">Estado</th>
<th scope="col">Comentarios</th>
</tr>
</thead>
<tbody>
<tr>
<td>{{ SpecName('CSS3 Box', '#the-padding', 'padding-bottom') }}</td>
<td>{{ Spec2('CSS3 Box') }}</td>
<td>No change from {{ 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>Defines <code>padding-bottom</code> as animatable.</td>
</tr>
<tr>
<td>{{ SpecName('CSS2.1', 'box.html#padding-properties', 'padding-bottom') }}</td>
<td>{{ Spec2('CSS2.1') }}</td>
<td>No change from {{ Specname('CSS1', '#padding-bottom', 'padding-bottom') }}.</td>
</tr>
<tr>
<td>{{ Specname('CSS1', '#padding-bottom', 'padding-bottom') }}</td>
<td>{{ Spec2('CSS1') }}</td>
<td>Initial definition</td>
</tr>
</tbody>
</table>
<h2 id="Compatibilidad_en_navegadores">Compatibilidad en navegadores</h2>
{{Compat("css.properties.padding-bottom")}}
|