question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

@extending nested placeholders

See original GitHub issue

http://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:open
  • Created 10 years ago
  • Comments:12 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
JustForLuckycommented, Dec 8, 2021

我已收到您的邮件,祝您天天开心,幸福美满!

0reactions
Grawlcommented, Dec 8, 2021
Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found