Friday 5 June 2015

CSS Syntax Style

Two type of CSS Syntax:

1. Selector
2. Declaration
1. Property
2. Value

Selector:
Selector is HTML element that's you want to style.

Declaration:
Declaration block of contains({}) one or more declarations separated by semicolons(;). Declaration start with second bracket '{' and end of second bracket '}'.

Property & Value:
Each declaration includes a property name and a value, property and value separated by a colon(:).

No comments:

Post a Comment