CSS
Specificity
Workshop
by
Aleksandr Gulbickij
Correct answer
[ picture ]
Task 1
Make div ... red using minimal amount of selectors
Task 2
Clean up CSS file ( remove not necessary selectors )
ID is useful for:
- Hook JavaScript to
- Accessibility
- Linking with hash
-
Styling