From the course: CSS Essential Training
Schalten Sie den kompletten Kurs noch heute frei
Join today to access over 23,300 courses taught by industry experts.
CSS values and units - CSS Tutorial
From the course: CSS Essential Training
CSS values and units
- [Narrator] In CSS, the property specifies the style to be changed, like color or font size. The value defines that style, and is specific to the property, like red or 10 pixels. Each property can be defined by different types of values, which can also be used with different units. This lesson will be an overview of some commonly used value types and units. However, how to use specific properties and values will be covered in other lessons throughout the course. In CSS documentation, value types, also referred to as data types, are usually written with angled brackets to distinguish them from properties. Although angled brackets are also used with HTML, these value types are not HTML, this is just the writing convention for the specifications. Let's start with an overview of numeric data types. This category refers to data types that use numbers with or without units, to define styles such as the width and height of an…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Inhalt
-
-
-
-
CSS specifications and the W3C3m 12s
-
(Locked)
CSS syntax and terminology4m 2s
-
(Locked)
CSS values and units3m 33s
-
(Locked)
The color property and values4m 31s
-
(Locked)
Creating a color palette1m 52s
-
(Locked)
Type and universal selectors3m 16s
-
(Locked)
ID selectors2m 34s
-
(Locked)
Class selectors3m 17s
-
(Locked)
Descendant combinators and selector lists2m 56s
-
(Locked)
The background property4m 39s
-
(Locked)
Project: Prepping the CSS file4m 5s
-
(Locked)
Project: Adding background styles7m 39s
-
(Locked)
Pseudo-classes and pseudo-elements4m 30s
-
(Locked)
Inheritance and the cascade2m 20s
-
(Locked)
Specificity3m 45s
-
(Locked)
Project: Styling links5m 23s
-
-
-
-
-
-
-