-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfav.html
51 lines (47 loc) · 1.18 KB
/
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<!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">
<meta name="mobile-web-app-capable" content="yes">
<meta name="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>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html, body {
height: 100%;
overflow: hidden;
display: flex;
justify-content: center;
align-items: center;
}
.square {
width: 100vmin;
height: 100vmin;
max-width: 100%;
max-height: 100%;
}
</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>