Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Do any of you create classes with one (or two) attributes? Re: Do any of you create classes with one (or two) attributes?

#73229
Chris Coyier
Keymaster

Going extreme with it is what is becoming known as object oriented CSS.

Code:

It’s contrary to how I was learned up with CSS, but I’m actually building a site right now where this approach is very useful.