4a2d5a1b49
Co-authored-by: Tim Neutkens <tim@timneutkens.nl> Co-authored-by: Tim Neutkens <timneutkens@me.com>
22 lines
369 B
JavaScript
22 lines
369 B
JavaScript
const Test = () => (
|
|
<div>
|
|
<style jsx global>{`
|
|
body {
|
|
color: red
|
|
}
|
|
|
|
:hover { color: red; display: flex;
|
|
animation: foo 1s ease-out }
|
|
|
|
div a {
|
|
display: none;
|
|
}
|
|
|
|
[data-test] > div {
|
|
color: red;
|
|
}
|
|
`}</style>
|
|
</div>
|
|
)
|
|
|
|
const Test2 = () => <style global jsx>{'p { color: red }'}</style>
|