Home » Interview » Technology

What are the rules in CSS ruleset?

Correct Answer: CSS consists of two types of CSS rules, first is for ruleset which identifies the style and the selector It combines the style and the selector Ruleset is a combination of CSS rules, for example: h1{text-color: 15pt;}, where this is the CSS rule Ruleset is selector + declaration for example: h1 + {text-color: 15pt;}

← Previous Question Next Question→

Discussion & Comments

No comments yet. Be the first to comment!
Join Discussion