-
Notifications
You must be signed in to change notification settings - Fork 0
/
fav.html
35 lines (31 loc) · 809 Bytes
/
fav.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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<title>clock</title>
<script src="https://d3js.org/d3.v6.min.js"></script>
<script src="clock.js"></script>
<style type="text/css">
.square {
width: 98vh;
height: 98vh;
}
</style>
</head>
<body style="background-color: #fcd6a1;">
<div class="square"></div>
<script type="text/javascript">
new YAClock("div", {
curveTypes : ["curveBasisClosed", "curveNatural"],
marks : {SECOND : {attr : {fill : "white"}}},
dials : {
SECOND : function(unit,value){
}
}
});
</script>
</body>
</html>