CSS Flashcards

1
Q

What is a selector?

A

Designates exactly which element or elements within our HTML to target and apply styles to.

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

What does properties do?

A

Determines the styles that will be applied to that element.

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

What does value do?

A

Determine behavior for a specific property.

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

What does type selectors do?

A

Target elements by their element type.

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

What do class selectors do?

A

Allow us to select an element based on the element’s class attribute value.

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

What do ID selectors do?

A

Are more precise than class selectors, as they target only one unique element at a time.

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