2017-01-16 04:59:22 +01:00
|
|
|
export default () => (
|
|
|
|
<div className='hello'>
|
|
|
|
<p>Hello World</p>
|
|
|
|
<style jsx>{`
|
|
|
|
.hello {
|
|
|
|
font: 15px Helvetica, Arial, sans-serif;
|
2017-10-15 19:54:57 +02:00
|
|
|
background: #eee;
|
2017-01-16 04:59:22 +01:00
|
|
|
padding: 100px;
|
|
|
|
text-align: center;
|
|
|
|
transition: 100ms ease-in background;
|
2017-10-15 19:54:57 +02:00
|
|
|
lost-column: 1/3;
|
|
|
|
&:hover {
|
|
|
|
color: red;
|
|
|
|
}
|
2017-01-16 04:59:22 +01:00
|
|
|
}
|
|
|
|
.hello:hover {
|
2017-10-15 19:54:57 +02:00
|
|
|
background: #ccc;
|
2017-01-16 04:59:22 +01:00
|
|
|
}
|
|
|
|
`}</style>
|
|
|
|
</div>
|
|
|
|
)
|