Skip to main contentdfsdf

    • CSS stands for Cascading Style Sheets
    • CSS defines HOW HTML elements are to be displayed.
    • A CSS rule has two main parts: a selector, and one or more declarations
    • CSS declarations always ends with a semicolon, and declaration groups are  surrounded by curly brackets:

    1 more annotation...

    • T
      he id selector is used to specify a style for a single, unique element.
    • The id selector uses the id attribute of the HTML element, and is defined  with a "#".

    5 more annotations...

    • There are three ways of inserting a style sheet:
    • An external style sheet is ideal when the style is applied to many pages.

    6 more annotations...

      • background-color
      •  
      • background-image
      •  
      • background-repeat
      •  
      • background-attachment
      •  
      • background-position
    • The background color of a page is defined in the body selector

    14 more annotations...

1 - 5 of 5
20 items/page
List Comments (0)