Web Development - Don't Get Carried Away With CSS Classes

CSS classes give you tremendous power to make your styles completely contradict the standard structure of available tags. You could use classes to make:

  • sometimes very big, and sometimes very small, and sometimes much smaller than
  • or . You could make cause text to be slanted and to make it bold. But don't get carried away! Using classes in this way will cause your code to be undecipherable and hard to manage. And it may make your site look unorganized - especially if you add an element and forget to add your special class. So be careful; use CSS classes wisely!

Go back