41 lines
483 B
JavaScript
41 lines
483 B
JavaScript
html`
|
|
<style>
|
|
:host {
|
|
display: block;
|
|
}
|
|
</style>
|
|
|
|
<body>
|
|
<input type="button" @click=${e => this.click(e)} value="deadmau5 🐭" />
|
|
|
|
<div></div>
|
|
<div></div>
|
|
<div></div>
|
|
|
|
<h3>${['❤️', '💛', '💚', '💙', '💜', '🖤']}</h3>
|
|
</body>
|
|
`
|
|
|
|
bug(html` <div></div> `)
|
|
|
|
function bug() {
|
|
html`div...`
|
|
}
|
|
|
|
css`
|
|
.foo {
|
|
display: block;
|
|
|
|
.bar {
|
|
color: #f30;
|
|
}
|
|
}
|
|
`
|
|
|
|
css`
|
|
:host {
|
|
display: flex;
|
|
height: 50px;
|
|
}
|
|
`
|