Well...that depends. If I have only one style h2, I will just make a class h2 which describes how my <h2> must look like. If I have multiple, I will make one generic class h2 and then see what the changes must be.
If more than one thing needs to be centered, I might make a .center class which I then can use for all my tags. Remember, <h2 class="center"> would use the generic h2 class and then apply the .center class. Since I can reuse the .center, it keeps my stylesheet small.
However, when a class needs more settings that might conflict, I use more specific classes.
|