What are the rules in CSS ruleset?

0

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.
1. Ruleset is a combination of CSS rules,
For Example : h1{text-color: 15pt;}, where this is the CSS rule.
2. Ruleset is selector + declaration
For Example : h1 + {text-color: 15pt;}

Css
asked Apr 14, 2023 at 18:21
Sign in to add a comment

0 Answers

0
📝 No answers yet!

Be the first to answer this interview question.

Your Answer

Sign in to post your answer and help the community.