How do I write my class so that it isn't selector specific?
Just like any other style. I will assume that you know a little something about this if you are already here and reading this entry. If we got back to our stylesheet, you would retype;
div.wrapper{}
Instead to look like this;
.wrapper{}
This way, you can apply this style to any element you want, including the paragraph(p) and list(li) element tags I used in the above example.
Posted by jerothe in