But what if you don't want all your buttons to look exactly the same?
For this reason, CSS has the idea of classes.
The idea is that when you make an HTML element, you can say it belongs to one or more classes.
Then in CSS you can express how those classes should appear.
The classes are just names you make up, a bit like variables.
|