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

Comma separated pseudos #6

Closed
mxstbr opened this issue Sep 4, 2016 · 3 comments
Closed

Comma separated pseudos #6

mxstbr opened this issue Sep 4, 2016 · 3 comments
Labels

Comments

@mxstbr
Copy link
Member

mxstbr commented Sep 4, 2016

This currently only applies the styles on focus, but not on hover:

const Component = styled.div`
  background-color: blue;

  &:hover,
  &:focus {
    background-color: red;
  }
`;
@geelen
Copy link
Member

geelen commented Sep 21, 2016

hahahaha i'm so sorry I'll write a real parser one day I promise

@geelen
Copy link
Member

geelen commented Sep 21, 2016

It's the newline, not the comma, that's breaking things btw.

@geelen geelen closed this as completed Sep 27, 2016
@maartenth
Copy link

Maybe this restriction could be added to the documentation in the meantime?

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

No branches or pull requests

3 participants