aboutsummaryrefslogtreecommitdiff
path: root/files/es/web/css/-moz-float-edge/index.html
blob: 9454e77fc97d6bcbeb2bff826b4cc28085f8b477 (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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
---
title: '-moz-float-edge'
slug: Web/CSS/-moz-float-edge
tags:
  - CSS
  - 'CSS: Extensión Mozilla'
  - Diseño
  - No estandar
  - Propiedad CSS
translation_of: Web/CSS/-moz-float-edge
---
<div>   {{CSSRef}}{{Non-standard_header}}</div>

<h2 id="Resumen">Resumen</h2>

<p>La propiedad <a href="/en-US/docs/Web/CSS">CSS</a> no estándar <strong><code>-moz-float-edge</code></strong> especifica si las propiedades  altura y anchura  del elemento incluyen el margen, el borde o el espesor del padding (relleno)</p>

<p>{{cssinfo}}</p>

<h2 id="Síntaxis">Síntaxis</h2>

<pre class="brush:css">/* Palabras clave valor */
-moz-float-edge: border-box;
-moz-float-edge: content-box;
-moz-float-edge: margin-box;
-moz-float-edge: padding-box;

/* Valores globales */
-moz-float-edge: inherit;
-moz-float-edge: initial;
-moz-float-edge: unset;
</pre>

<h3 id="Valores">Valores</h3>

<dl>
 <dt><code>border-box</code></dt>
 <dd>La altura y anchura incluyen el contenido, el padding (relleno) y el bordee, pero no el margin.</dd>
 <dt><code>content-box</code></dt>
 <dd>La altura y anchura incluyen el contenido, pero no el padding (relleno),borde ni el margen.</dd>
 <dt><code>margin-box</code></dt>
 <dd>La altura y anchura incluyen el contenido, el padding (relleno), el borde y el margen.</dd>
 <dt><code>padding-box</code></dt>
 <dd>La altura y anchura incluyen el contenido, y el padding (relleno), pero no el borde ni el margen.</dd>
</dl>

<h3 id="Síntaxis_Formal">Síntaxis Formal</h3>

<pre class="syntaxbox">{{csssyntax}}</pre>

<h2 id="Example" name="Example"> </h2>

<h2 id="Example" name="Example">Ejemplo</h2>

<h3 id="Contenido_HTML">Contenido HTML</h3>

<pre class="html prettyprint"><span class="tag">&lt;div</span><span class="pln"> </span><span class="atn">class</span><span class="pun">=</span><span class="atv">"box"</span><span class="tag">&gt;</span><span class="pln"> </span>
<span class="pln">   </span><span class="tag">&lt;p&gt;</span><span class="pln">Lorem ipsum dolor sit amet, consectetur adipiscing elit.</span><span class="tag">&lt;/p&gt;</span><span class="pln">
</span><span class="tag">&lt;/div&gt;</span></pre>

<h3 id="Contenido_CSS">Contenido CSS</h3>

<pre class="brush: css">.box {
    display: <span class="highVAL">block</span>;
    height: 5px;
    margin: 0.5em auto 0.5em auto;
    color: gray;
    -moz-float-edge: margin-box;
    box-sizing: border-box;
} </pre>

<h3 id="Resultado">Resultado</h3>

<p>{{ EmbedLiveSample('Example', '', '', '', 'Web/CSS/-moz-float-edge') }}</p>

<h2 id="Ver_además">Ver además</h2>

<p>{{bug(432891)}}</p>