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.

Composition when using :hover etc

See original GitHub issue

error: composition is only allowed when selector is single :local class name not in ":local(.type-hover):hover". Still new to css modules but this seems odd, is there a more literal “include” which would work in this scenario? I’ve hit a few cases where this is a blocker, and I have to go expand all the props

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
joshwnjcommented, Mar 30, 2016

@tj if you get something nice going with postcss-extend please let us know! 😃

0reactions
tjcommented, Mar 30, 2016

ah yep makes sense, I’ll take a look at postcss-extend, I definitely like the from ... stuff here. thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

hover - CSS: Cascading Style Sheets - MDN Web Docs
The :hover CSS pseudo-class matches when the user interacts with an element with a pointing device, but does not necessarily activate it.
Read more >
How to Implement Hover in CSS with Examples - Edureka
CSS hover is a selector component that is utilized to style different elements when the mouse pointer hovers over them. They can be...
Read more >
Wildcards in css for all states of a:hover, focus etc?
How can I vertically center a div element for all browsers using CSS? ... The border-radius property and border-collapse:collapse don't mix. How ...
Read more >
How to Create 9 Different CSS Hover Effects From Scratch
By default during the hover animation, the icon will appear from top to bottom, while the text will be moved to the bottom....
Read more >
When do the :hover, :focus, and :active pseudo-classes apply?
When using a mouse or similar pointing device, the :focus pseudo-class will apply once the user has begun activating the element and, ...
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