bevy/examples/wasm/index.html

28 lines
537 B
HTML
Raw Permalink Normal View History

<html lang="en">
<head>
<meta charset="UTF-8" />
<style>
body {
background: linear-gradient(
135deg,
white 0%,
white 49%,
black 49%,
black 51%,
white 51%,
white 100%
) repeat;
background-size: 20px 20px;
}
canvas {
background-color: white;
}
</style>
<title>Wasm Example</title>
</head>
<script type="module">
import init from './target/wasm_example.js'
init()
</script>
</html>