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

Эта статья нуждается в редакционном обзоре. Как вы можете помочь.

В процессе перевода.

Каскадные таблицы стилей —  CSS — это технология которую следует изучать после HTML. В отличие от HTML, который служит для определения структуры и семантики контента, CSS отвечает за внешний вид и представление. К примеру, с помощью CSS можно изменять шрифт, цвет, размер, межстрочный интервал, добавить анимацию.

Путь изучения

Перед тем как браться за CSS стоит разобраться в основах HTML. В этом поможет модуль Введение в HTML. После его прохождения переходите к:

Мы рекомендуем изучать HTML и CSS одновременно. HTML гораздо интереснее в сочетании с CSS и изучать эти языки не комплексно было бы ошибкой.

В данном разделе содержится информация, которая требует самой базовой ознакомленности с компьютером и веб. В статье Установка рабочего пространства подробно описано необходимое ПО и способы его установки, необходимо также будет уметь создавать и управлять файлами, в чем поможет статья Разбираемся с файлами — которая включена в полное руководство для новичка Основы веб.

Перед тем как начинать данный раздел мы рекомендуем пройти руководство Основы веб, хотя это абсолютно не обязательно; большая часть того, что вы найдете в статье об основах CSS также встречается в разделе Введение в CSS, хотя и более детально.

Модули

Этот раздел содержит модули в порядке, наиболее подходящем для работы с ними. Лучше всего начать с самого первого.

Введение в CSS
Этот раздел поможет разобраться в том как работает CSS включая селекторы и значения, писать правила и применять CSS в HTML, как устанавливать длину, цвет и другие диницы измерения CSS, наследование и  box model basics, and debugging CSS.
Дизайн текста
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.
Адаптивный дизайн (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.

Решаем часто встречающиеся проблемы  в CSS

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,

Смотрите также

CSS на 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.

Метки документа и участники

 Внесли вклад в эту страницу: VladdOs, bychek.ru, uleming, Andrew_Pfeiffer
 Обновлялась последний раз: VladdOs,