bevy/examples/wasm/index.html
Tygyh 746361bdfd
Add html tags required for accessibility (#10989)
# Objective

- Make example comply with accessibility standards.

## Solution

- Add missing tags.
2023-12-16 03:09:36 +00:00

28 lines
537 B
HTML

<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>