Introduction to CSS

Cascading Style Sheet (CSS) is a collection of formatting styles that are used to modify the properties of existing HTML tags. The designer can specify the design of a web page in a style sheet.

The same style sheet can be used in multiple web pages. It provides a facility of creating websites with consistent design and outlook.

Basic Syntax

Selector{ Property: Value; }

CSS Breakdown

Here is the breakdown of CSS