Hello,
I've posted an answer on
stackoverflow.com related to OOCSS:
"Why use .h1 instead of actual h1?"
<
http://stackoverflow.com/a/19166926/922323>
In my answer, I referenced this older file:
<
https://github.com/stubbornella/oocss/blob/6e481bc18fea7cae253977ad6b1d9a5bf85a6d24/core/heading/heading.css>
... specifically, I point out this comment:
/* .h1-.h6 classes should be used to maintain the semantically
appropriate heading levels - NOT for use on non-headings */
In the comments of my answer Stackoverflow, someone asked me:
"... I don't at all understand the OOCSS comment "NOT for use on
non-headings" - why not? That honestly makes no sense to me."
My question:
Just curious, but what is the reason to restrict the usage of the
heading classes?
Personally, I like the thought of using those classes only on
headings. To quote Nicole from an older thread "I like that it is easy
to remember. Discoverable.". In other words, if I used ".h6" class on
something other than a heading, I think I would find that confusing
and less logical than just restricting usage to headings only.
On the other hand, I can't think of a reason why one wouldn't be able
to use these classes on other elements ... especially if the class
names were more like ".alpha", ".beta", ".gamma" etc.
Just curious what ya'll think. I'm hoping that Nicole Sullivan is listening. :)
Thanks!
Micky
P.S.
I just found this answer on the OOCSS WIKI page:
"I need more than six (h1-h6) headings on my site. How do I add more?"
<
https://github.com/stubbornella/oocss/wiki/faq#i-need-more-than-six-h1-h6-headings-on-my-site-how-do-i-add-more>
... which says:
"If you want more than six heading styles, extend the heading objects
by adding a new class."
But what if you someone wants to use those heading classes outside the
context of a heading tag?
Again, IMHO, using .h1-.h6 on non-headings wouldn't be (to quote
Nicole from an older/related thread) "easy to remember. Discoverable."