Bar Akiva
Bar Akiva

Reputation: 1209

Mozilla Firefox Developer tools - what are the grayed out selectors?

In the Firefox developer tools rules view the selectors are pink. Sometimes there grayed out selectors together with the pink ones. What do they do?

Upvotes: 8

Views: 10580

Answers (2)

relipse
relipse

Reputation: 1810

In my experience, the greyed out html elements are those with display: none;

Upvotes: 12

Tom Tromey
Tom Tromey

Reputation: 22519

If a rule has multiple selectors, the ones that apply to the selected element are brighter (for me, green; but apparently for you, pink) and the ones that do not apply to the selected element are dimmed.

Upvotes: 2

Related Questions