Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Selector Inheritance #759

Closed
chrisui opened this issue Apr 10, 2012 · 4 comments
Closed

Selector Inheritance #759

chrisui opened this issue Apr 10, 2012 · 4 comments

Comments

@chrisui
Copy link

chrisui commented Apr 10, 2012

Forgive me if this has been discussed before or is in development but I haven't managed to find anything from a quick search.

Could we please have selector inheritance? (@extend from http://sass-lang.com#extend) Is anyone working on this? (is there a fork?) Is there a reason why it has not been included?

My only issue with less ever is that if you really want to write your code with a heavy DRY approach (which in fairness is the main reason you'd use a preprocessor like less) then you can end up with a lot of duplicate code after compiling where you simply wanted two separate classes to share styles.

@zachshallbetter
Copy link

I use CSS grouping quite a bit for identical declarations w/ adjustments. Adding selector inheritance to LESS would make a huge difference in my workflow.

@lbkilgore
Copy link

Yes, I 'third' this. I find myself actually using plain ole CSS when it comes to this.

@icholy
Copy link

icholy commented Jun 26, 2012

this is a dupe of #509

@lukeapage
Copy link
Member

agree- duplicate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants