ID Selectors
Just like the class selector, the ID selector allows developers to define style rules for a specific element by calling its unique ID.
ID names are prepended with a number sign (#
).
- Previous
- Next
Just like the class selector, the ID selector allows developers to define style rules for a specific element by calling its unique ID.
ID names are prepended with a number sign (#
).