--- title: '-moz-float-edge' slug: Web/CSS/-moz-float-edge tags: - CSS - Non-standard - Propriété - Reference translation_of: Web/CSS/-moz-float-edge ---
La propriété -moz-float-edge définit si les propriétés de hauteur et de larguer d'un élément incluent la marge, la bordure et/ou le remplissage (padding).
/* Valeurs avec un mot-clé */ -moz-float-edge: border-box; -moz-float-edge: content-box; -moz-float-edge: margin-box; -moz-float-edge: padding-box; /* Valeurs globales */ -moz-float-edge: inherit; -moz-float-edge: initial; -moz-float-edge: unset;
border-boxcontent-boxmargin-boxpadding-box{{csssyntax}}
.box {
display: block;
height: 5px;
margin: 0.5em auto 0.5em auto;
color: gray;
-moz-float-edge: margin-box;
box-sizing: border-box;
}
<div class="box">
<p>
Lorem ipsum dolor sit amet,
consectetur adipiscing elit.
</p>
</div>
{{EmbedLiveSample('Exemples')}}
Cette pseudo-classe est une pseudo-classe propriétaire liée à Gecko/Mozilla et ne fait partie d'aucune spécification.
{{cssinfo}}