Skip to content

css.global doesn't support hover? #365

Open
@clouds56

Description

@clouds56

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;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions