AI Features

Selector Group Priorities

In this lesson let's see some properties of the selector group.

We'll cover the following...

Six priority group rules for selectors

To determine which selector has a higher priority, CSS divides the rules into six priority group from the highest to the lowest:

  1. The first priority group contains rules with the !important modifier added to them. They override all rules that do not contain this
...
Ask