-
Notifications
You must be signed in to change notification settings - Fork 50
/
5.html
36 lines (36 loc) · 1.24 KB
/
5.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, shrink-to-fit=0, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
<title>codevember - 5 - @mattdesl</title>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-51878758-6', 'auto');
ga('send', 'pageview');
</script>
<link href='http://fonts.googleapis.com/css?family=Noto+Sans' rel='stylesheet' type='text/css'>
<style>
body {
font-family: "Noto Sans", Helvetica, sans-serif;
font-size: 14px;
}
canvas {
border-radius: 50%;
display: inline-block;
-webkit-border-radius: 50%;
-moz-border-radius: 50%;
-webkit-transform: translateZ(0);
-webkit-mask-image: -webkit-radial-gradient(circle, white 100%, black 100%);
}
</style>
</head>
<body>
<div>click to change displacement</div>
<div>mouse / touch to move image</div>
<script src="static/5.js"></script>
</body>
</html>