0 votes
in HTML by (1.7k points)

 What is a CSS rule?

1 Answer

0 votes
by (1.7k points)

Web browsers apply CSS rules to a document to affect how they are displayed. A CSS rule is formed from:

  • set of properties, which have values set to update how the HTML content is displayed,
  • selector, which selects the element(s) you want to apply the updated property values to.

A set of CSS rules contained within a stylesheet determines how a webpage should look.

Related questions