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

css.global doesn't support hover? #365

Open
clouds56 opened this issue Mar 9, 2018 · 0 comments · May be fixed by #367
Open

css.global doesn't support hover? #365

clouds56 opened this issue Mar 9, 2018 · 0 comments · May be fixed by #367

Comments

@clouds56
Copy link

clouds56 commented Mar 9, 2018

I've created a global css like (see jsfiddle)

Glamor.css.global(".hello", {
  ":hover": { "opacity": 0.7 },
  "opacity": 0.3,
}

and it transforms to

".hello{opacity:0.3;:hover:[object Object];}"

but not

.hello {
  opacity:0.3;
}
.hello:hover {
  opacity:0.7;
}
@clouds56 clouds56 linked a pull request Mar 11, 2018 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant