Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

CSS

Este artigo necessita de uma revisão editorial. Como posso ajudar.

Esta tradução está incompleta. Ajude atraduzir este artigo.

Cascading Stylesheets — or CSS — is the second technology you should start learning after HTML. Whereas HTML is used to define the structure and semantics of your content, CSS is used to style it and lay it out. So for example, you can use CSS to alter the font, color, size and spacing of your content, split it into multiple columns, or add animations and other decorative features.

Percurso de aprendizagem

Você realmente deve aprender o básico de HTML antes de tentar algo com CSS. Nós recomendamos que você comece através da nossa Introdução ao HTML e no primeiro módulo você vai aprender sobre:

  • CSS, começando com a introdução ao módulo CSS
  • Mais avançado Módulos HTML
  • JavaScript, e como utiliza-lo para adicionar funcinalidade dinâmica as paginas da web

Nós recomendamos que você aprenda HTML e CSS ao mesmo tempo, movendo-se para trás e para frente entre os dois temas. Isso por que HTML é muito mais interessante com CSS e você não pode aprender realmente CSS sem aprender HTML.

Antes de iniciar este tópico, você também deve ter pelo menos familiaridade básica com o uso de computadores, e utilizar a Web passivamente (isto é, apenas navegando e consumindo conteúdo) você deve ter uma configuração básica de ambiente de trabalho, conforme detalhado no Instalando o software básico, e entender como criar e gerenciar arquivos, conforme detalhado em Lidando com arquivos — ambos são partes do nosso Como começar com a web módulo de iniciante.

É recomendável que você trabalhe através do Como começar com a web antes de começar este tema, não é absolutamente necessário; muito do que é abordado no artigo básico de CSS também é coberto em nossa introdução ao módulo CSS, embora com muito mais detalhes.

Módulos

Este tópico contém os seguintes módulos em uma ordem sugerida para trabalhar através deles. Você deve definitivamente começar com o primeiro.

Introdução ao CSS
Este módulo é uma introdução com as noções básicas de como CSS funciona, incluindo seletores e propriedades, escrever regras CSS, aplicando CSS para HTML, como especificar comprimento, cor e outras unidades em CSS, cascata e herança, noções básicas de box model e depuração CSS.
Estilo de texto
Here we look at text styling fundamentals, including setting font, boldness, and italics, line and letter spacing, and drop shadows and other text features. We round off the module by looking at applying custom fonts to your page, and styling lists and links.
Styling boxes
Next up, we look at styling boxes, one of the fundamental steps towards laying out a web page. In this module we recap the box model then look at controlling box layouts by setting padding, borders and margins, setting custom background colors, images and other features, and fancy features such drop shadows and filters on boxes.
CSS layout
At this point we've already looked at CSS fundamentals, how to style text, and how to style and manipulate the boxes that your content sits inside. Now it's time to look at how to place your boxes in the right place in relation to the viewport, and one another. We have covered the necessary prerequisites so can now dive deep into CSS layout, looking at different display settings, traditional layout methods involving float and positioning, and new fangled layout tools like flexbox.
Responsive design (TBD)
With some many different types of devices able to browser the Web these days, responsive web design (RWD) has become a core web development skill. This module will cover the basic principles and tools of RWD, explain how to apply different CSS to a document depending on device features like screen width, orientation, and resolution, and explore the technologies available for serving different video and images depending on such features.
Animations and transforms (TBD)
Two of the most interesting areas of CSS are the ability to manipulate elements (e.g. moving, rotating and skewing), and smoothly animate elements (e.g. from one color or position to another.) This module explores how to implement so-called transformations and animations.

Solving common CSS problems

Use CSS to solve common problems provides links to sections of content explaining how to use CSS to solve very common problems when creating a webpage: Styling boxes,

See also

CSS on MDN
The main entry point for CSS documentation on MDN, from detailed references to advanced tutorials.
CSS reference
A comprehensive reference guide to all the many features of the CSS language — if you want to know what values a property can take, for example, this is a great place to start.

Etiquetas do documento e colaboradores

 Colaboradores desta página: luan03
 Última atualização por: luan03,