@extending nested placeholders
See original GitHub issuehttp://learnboost.github.io/stylus/docs/extend.html
.foo
&.bar
background: red
.baz
@extend .foo.bar // works
.foo2
&$bar2
background: blue
.baz2
@extend .foo2$bar2 // doesn't work
Is this type of functionality available? It’d be nice to be able to namespace placeholders.
Issue Analytics
- State:
- Created 10 years ago
- Comments:12 (9 by maintainers)
Top Results From Across the Web
Extending a Nested Placeholder in SCSS - Stack Overflow
Is there a different way to write my placeholder and @extends to make the SCSS cleaner, as in the 2nd example? css ·...
Read more >Extending placeholders which have nested media queries ...
Abstract Using a placeholder selector, calling a mixin which wraps a media-query, the placeholder selector is leaked into the CSS output.
Read more >Extend Placeholder Selectors (How To) | Sass Basics
When you extend regular selectors, like classes and IDs, they get output to CSS. ... Now, placeholders also support nested selectors. 2:40.
Read more >How to have nested placeholders when using dynamic ...
I'm using dynamic placeholders in the views, and there are nested views. When giving the placeholder path for a rendering (in Presentation >...
Read more >When I Use (and Don't Use) Sass Extend • James Steinbach
Don't mix nesting and extends. Only extend placeholders. Try to use an actual selector instead. Using Using Sass's @extend ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
我已收到您的邮件,祝您天天开心,幸福美满!
maybe my case is related to this issue https://stackoverflow.com/questions/35261337/extend-placeholder-selector-in-stylus