We're looking for a user researcher to understand the needs of developers and designers. Is this you or someone you know? Check out the post: https://mzl.la/2IGzdXS

Esta tradução está incompleta. Por favor, ajude a traduzir este artigo do Inglês.

Neste ponto, nós já examinamos os fundamentais de CSS, como estilizar o texto, e como estilizar e manipular as caixas em que o seu conteúdo se enquadra. Agora é hora de ver como colocar as suas caixas no lugar certo em relação à viewport, e um ao outro. Nós cobrimos os pré-requisitos necessários para que possamos mergulhar profundamente no layout CSS, olhando para diferentes configurações de exibição, métodos de layout tradicionais envolvendo flutuador e posicionamento, e ferramentas de layout modernas como flexbox.


Before starting this module, you should already:

  1. Have basic familiarity with HTML, as discussed in the Introduction to HTML module.
  2. Be comfortable with CSS fundamentals, as discussed in Introduction to CSS.
  3. Understand how to style boxes.

Nota: If you are working on a computer/tablet/other device where you don't have the ability to create your own files, you could try out (most of) the code examples in an online coding program such as JSBin or Thimble.


These articles will provide instruction on the fundamental layout tools and techniques available in CSS.

Introduction to CSS layout
This article will recap some of the CSS layout features we've already touched upon in previous modules — such as different display values — and introduce some of the concepts we'll be covering throughout this module.
Originally for floating images inside blocks of text, the float property has become one of the most commonly used tools for creating multiple column layouts on webpages. This article explains all.
Positioning allows you to take elements out of the normal document layout flow, and make them behave differently, for example sitting on top of one another, or always remaining in the same place inside the browser viewport. This article explains the different position values, and how to use them.
Practical positioning examples
With the basics of positioning covered in the last article, we will now look at building a couple of real world examples, to illustrate what kinds of things you can do with positioning.
A new technology, but with support now fairly widespread across browsers, Flexbox is starting to become ready for widespread use. Flexbox provides tools to allow rapid creation of complex, flexible layouts, and features that historically proved difficult with CSS. This articles explains all the fundamentals.
Grid systems are another very common feature used in CSS layouts, which tend to be implemented using floats or other layout features. You imagine your layout as a set number of columns (e.g. 4, 6, or 12), and then fit your content columns inside these imaginary columns. In this article we'll explore the basic idea behind creating a grid system, look at using a ready-made grid system provided by a grid framework, and end by experimenting with CSS Grids — a nascent new browser feature that makes implementing grid design on the Web a lot easier.


The following assessments will test your ability to lay out web pages with CSS.

Creating a flexible multicolumn layout (TBD)
This assessment tests your ability to create a standard multicolumn layout, with a few interesting features.
Creating a fixed control widget (TBD)
This assessment challenges your understanding of positioning by asking you to create a fixed position control widget that allows the user to access a web app's controls regardless of where they scroll to.

Etiquetas do documento e contribuidores

Contribuidores para esta página: mansil
Última atualização por: mansil,