Home > DeveloperSection > Forums > CSS rule 'ruleset'
Ankit Singh

Total Post:341

Points:2389
Posted on    December-17-2012 2:27 AM

 CSS-CSS3 CSS-CSS3 
Ratings:


 1 Reply(s)
 1275  View(s)
Rate this:
Hi,

These days I'm working on CSS.
Please help me what is CSS rule 'ruleset'?
 
Thanks


AVADHESH PATEL

Total Post:604

Points:4228
Posted on    December-17-2012 3:52 AM

Hi Ankit Singh,

There are two type CSS rule

1. ruleset

2. at-rule.

Ruleset identifies selector or selectors and declares style which is to be attached to that selector or selectors. For example P {text-indent: 10pt} is a CSS rule. CSS rulesets consist of two parts: selector, e.g. P and declaration, e.g. {text-indent: 10pt}. P {text-indent: 10pt} - CSS rule (ruleset) {text-indent: 10pt} - CSS declaration text-indent - CSS property 10pt - CSS value.

 


Don't want to miss updates? Please click the below button!

Follow MindStick