CSS Flashcards
1
Q
What is a selector?
A
Designates exactly which element or elements within our HTML to target and apply styles to.
2
Q
What does properties do?
A
Determines the styles that will be applied to that element.
3
Q
What does value do?
A
Determine behavior for a specific property.
4
Q
What does type selectors do?
A
Target elements by their element type.
5
Q
What do class selectors do?
A
Allow us to select an element based on the element’s class attribute value.
6
Q
What do ID selectors do?
A
Are more precise than class selectors, as they target only one unique element at a time.