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.

Source
.foo {
    &&_bar:hover {
        color: red;
    }
}
Result
Invalid CSS after "&": expected "{", was "&_bar:hover"

"&_bar:hover" may only be used at the beginning of a compound selector.
Expected
.foo.foo_bar:hover {
    color: red;
}

Issue Analytics

  • State:closed
  • Created 9 years ago
  • Reactions:2
  • Comments:7

github_iconTop GitHub Comments

17reactions
cimmanoncommented, Feb 19, 2015

You can already do this.

.foo {
    &#{&}_bar:hover {
        color: red;
    }
}
0reactions
LiHongxiang1993commented, Sep 19, 2022

.foo { &#{&}_bar:hover { color: red; } }
worked for me! wonderful!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Support Definition & Meaning
1 · to endure bravely or quietly : bear ; 3 · to pay the costs of : maintain. supports a large family...
Read more >
Official Apple Support
Apple support is here to help. Learn more about popular topics and find resources that will help you with all of your Apple...
Read more >
334 Synonyms & Antonyms for SUPPORT
To support is to hold up or add strength to, literally or figuratively: The columns support the roof. To maintain is to support...
Read more >
SUPPORT | definition in the Cambridge English Dictionary
to hold something firmly or carry its weight, especially from below to stop it from falling: The church dome is supported by/on marble...
Read more >
Google Help
Your account. Can't access your account? Recent transactions with Google · Help Communities. Learn more about. Google's Product Experts Program · Status dashboard....
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