UNPKG

styled-jsx

Version:

Full, scoped and component-friendly CSS support for JSX (SSR+browser)

2 lines (1 loc) 385 B
p[data-jsx=woot]{color: red;}*[data-jsx=woot]{color: blue;}[href="woot"][data-jsx=woot]{color: red;}p[data-jsx=woot],h1[data-jsx=woot]{color: blue;}@-webkit-keyframes woothahaha {from { top: 0 }to { top: 100 }}@-moz-keyframes woothahaha {from { top: 0 }to { top: 100 }}@keyframes woothahaha {from { top: 0 }to { top: 100 }}@media (min-width: 500px) {.test[data-jsx=woot]{color: red;}}