37 lines
448 B
JavaScript
37 lines
448 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`
|
|
:host {
|
|
display: block;
|
|
}
|
|
`
|
|
|
|
css`
|
|
:host {
|
|
display: block;
|
|
height: 50px;
|
|
}
|
|
`
|