blob: 883cdbd4a4d7367609c1783cd44ddc4fa2ff37c0 (
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
|
---
title: Modelo de layout
slug: Web/CSS/Modelo_layout
translation_of: Web/CSS/Layout_mode
---
<p>O modelo de layout <a href="/en-US/docs/Web/CSS">CSS</a>, às vezes abreviado por <em>layout</em>, é um algoritimo que determina a posição e tamanho dos boxes baseado em como estes interagem com os boxes filhos e boxe ancestral. Há vários layouts:</p>
<ul>
<li><em>Block layout</em>, designed for laying out documents. The block layout contains document-centric features, like the ability to <a href="/en-US/docs/Web/CSS/float"><em>float</em></a> elements or to lay them out over <a href="/en-US/docs/Web/CSS/CSS_Columns/Using_multi-column_layouts"><em>multiple columns</em></a>.</li>
<li><em>Inline layout</em>, designed for laying out text.</li>
<li><a href="/pt-BR/docs/Web/CSS/CSS_Table"><em>Table layout</em></a>, designed for laying out tables.</li>
<li><a href="/pt-BR/docs/Web/CSS/CSS_Positioning"><em>Positioned layout</em></a>, designed for positioning elements without much interaction with other elements.</li>
<li><a href="/pt-BR/docs/Web/CSS/CSS_Flexible_Box_Layout"><em>Flexible box layout</em></a>, designed for laying out complex pages that can be resized smoothly.</li>
<li><a href="/pt-BR/docs/Web/CSS/CSS_Grid_Layout"><em>Grid layout</em></a>, designed for laying out elements relative to a fixed grid.</li>
</ul>
<div class="note">
<p><strong>Note:</strong> Not all <a href="/en-US/docs/Web/CSS/Reference">CSS properties</a> apply to all <em>layout modes</em>. Most of them apply to one or two of them and have no effect if they are set on an element participating in another layout mode.</p>
</div>
<h2 id="Veja_Também">Veja Também</h2>
<ul>
<li>{{CSS_key_concepts}}</li>
</ul>
|