-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
37 lines (36 loc) · 1.21 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<!DOCTYPE html>
<html>
<head>
<title>Bonfire 🔥</title>
<meta name="description" content="CSS only realistic bonfire" />
<link rel="stylesheet" type="text/css" href="fire.css" />
</head>
<body>
<div class="container">
<div class="background"></div>
<div class="bonfire">
<div class="bon_back"></div>
<div id="fire" class="fire"></div>
<div class="smoke_limits"></div>
<div class="fire_limits"></div>
<div class="fire_lights"></div>
<div class="bon_front"></div>
</div>
<button
title="Click to start the fire"
id="start"
class="startButton"
onclick="startSound()"
></button>
<button
title="Source code on GitHub"
class="gitHubButton"
onclick="window.open('https://github.com/Megaemce/Bonfire', '_blank')"
></button>
</div>
<audio id="fireSound" loop>
<source src="fire.mp3" type="audio/mpeg" />
</audio>
<script src="main.js"></script>
</body>
</html>