forked from sukhchain9935/canvas.to.button
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
21 lines (20 loc) · 988 Bytes
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Canvas to Button</title>
<link rel="stylesheet" href="main.css">
<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAABjSURBVChTY/wPBAxQwMjICGWhAiQlDExQGqx4Z1U4lIcAIDEUg6A2/AdKgGl0gC4HpHErhgFkNSC7ILqQ3IkNwJwF9wOxgE4aMIIODaAEOXoooAN0ObgKZAlkjG4QiUmDgQEAzdKWF5J2Dj0AAAAASUVORK5CYII=" />
</head>
<body onload="draw(5)" style="background: beige;">
<button class="_button" data-pixelate="bg">Play</button>
<button id="dontPixelate" style="
width: 200px;
height: 50px;
background-image: url('assets/pullybg.png');
background-color: white; " data-pixelate="bg">Nay</button>
<script type="text/javascript" src="scripts/canvas.js"></script>
<script type="text/javascript" src="scripts/RGBA.js"></script>
</body>
</html>
<!-- style=" background-image: url('assets/pullybg.png'); " -->