I have seen this as the norm:
It has a class selector with a property and a value, then that class is called below.
That makes sense.
But i have seen this too:
There is an element with a class in the <style>
section, what's the difference and why is there a need to put the element with the class as the selector instead of just the class?