- From: Garrett Smith <dhtmlkitchen@gmail.com>
- Date: Thu, 31 Jan 2013 15:53:42 -0800
- To: Philip Walton <philip@philipwalton.com>
- Cc: www-style@w3.org
On 1/17/13, Philip Walton <philip@philipwalton.com> wrote: > I recently posted a proposal on my website for how I think CSS could/should > handle the concept of extending a base class: > http://philipwalton.com/articles/the-future-of-oocss-a-proposal/ > > Tab sent me a link to this discussion from August started by David Baron, > and my proposal basically aligns with method (b) that he suggests: > http://lists.w3.org/Archives/Public/www-style/2012Aug/0363.html > > I've spent a lot of time thinking about this problem and trying to make it > work with in Sass; I've firmly come to the conclusion that preprocessors > can't handle this all by themselves. The article goes into a lot of detail > why. > Sass? No idea about that one. > Anyway, I'd love to be part of any discussion on this topic, which is why > I'm sending this to the list. > Use multiple classes where you think you need to extend. .panel { position: absolute; } .cadillac-panel { border: 12px outset maroon; } <div class="panel cadillac-panel" ...> var cp = document.querySelectorAll("cadillac-panel"); > TL;DR for the article: > -- Garrett Twitter: @xkit personx.tumblr.com
Received on Thursday, 31 January 2013 23:54:09 UTC