CSS Selectors Flashcards

Learn different selector types.

1
Q

how do we decide what happens with links, buttons, etc when they are clicked, hovered, and used in the past, respectively?

A

the pseudo selectors :active, :hover and :visited

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

does having a tag be an inner tag mean it has more specificity when selected over it’s outer tag even if the order or selector type would indicate otherwise?

A

yes

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