Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 644 Bytes

File metadata and controls

26 lines (20 loc) · 644 Bytes

CSS

Block level elements look like they start on a new line. Examples include the

-

,

and

elements.

Inline elements flow within the text and do not start on a new line. Examples include , , , and .

CSS declarations sit inside curly brackets and each is made up of two parts: a property and a value, separated by a colon. You can specify several properties in one declaration, each separated by a semi-colon.

Color

The color property allows you to specify the color of text inside an element. You can specify any color in CSS in one of three ways:

  1. rgb values
  2. Hex Codes
  3. Color Names