css-cascade-3 Flashcards

1
Q

What is the purpose of !important?

A

means that all subsequent rules on an element are to be ignored, and the rule denoted by ! important is to be applied

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

When is !important a good tool to use?

A

for special needs and users who want to make web content more accessible by easily overriding default user agent or author stylesheets.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly