Fix HTML and CSS order …

- Format CSS
pull/6213/head
BabakFP 5 years ago committed by GitHub
parent d632226e15
commit fc30d93303
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -2,10 +2,13 @@
let m = { x: 0, y: 0 };
</script>
<style>
div { width: 100%; height: 100%; }
</style>
<div on:mousemove="{e => m = { x: e.clientX, y: e.clientY }}">
The mouse position is {m.x} x {m.y}
</div>
</div>
<style>
div {
width: 100%;
height: 100%;
}
</style>

Loading…
Cancel
Save