Skip to content

Instantly share code, notes, and snippets.

@bradobro
Created May 19, 2015 14:32
Show Gist options
  • Save bradobro/e30fb202bdd825bd549d to your computer and use it in GitHub Desktop.
Save bradobro/e30fb202bdd825bd549d to your computer and use it in GitHub Desktop.
A lightweight, versatile way to override styles client-side with react
H = React.Dom
H.div className: "page-wrapper",
H.style null,
"""
.header-section {background: red !important;}
.primary-action {background: red !important;}
.primary-action:hover, .primary-action.hover {border: 1px solid red !important;}
"""
@bradobro
Copy link
Author

Here you go @carambito

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment