-
Notifications
You must be signed in to change notification settings - Fork 0
/
Index.html
138 lines (107 loc) · 3.29 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Disney Watch®</title>
<link rel="icon" href="mickey_mouse_head_and_ears.png" type="image/png" sizes="16x16">
<link rel="stylesheet" media="screen" href="https://fontlibrary.org/face/waltograph" type="text/css"/>
<style>
/*Animación de las agujas del reloj*/
@keyframes reloj {
from {transform: rotate(0deg);}
to {transform: rotate(360deg);}
}
h1{
font-family: 'WaltographRegular';
font-size: 50px;
text-align: center;
}
.needles_seconds{
width: 100px;
height: 5px;
animation: reloj 60s infinite;
transform-origin: right top;
background-color:red;
position:absolute;
}
.needles_minutes{
animation-name: reloj;
animation-duration: 360s;
animation-iteration-count: infinite;
transform-origin: right top;
position:absolute;
}
.needles_hours{
animation-name: reloj;
animation-duration: 3600s;
animation-iteration-count: infinite;
transform-origin: right top;
position:absolute;
}
.needles{
position:absolute;
top: 50%;
left: 30%;
}
.mickey{
position:relative;
top: 50%;
left: 60%;
transform: translate(-50%, -50%)
}
/*Numeros del reloj - formato imagen*/
.numbers{
position:absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background-color: white;
border: 2px solid black;
border-radius:50%;
}
/*Div del Reloj Completo*/
.watch{
position:absolute;
background-image: url("disney-wallpaper.jpg");
width:500px;
height: 500px;
left: 50%;
transform: translate(-50%);
}
/*Liston Superior*/
.menu1{
width:1500px;
height: 100px;
background-color:yellow;
position:relative;
transform: rotate(7deg);
z-index: 10;
}
body{
background: linear-gradient(0deg, rgba(130,156,187,1) 0%, rgba(254,254,254,1) 39%);
height: 600px;
}
</style>
</head>
<body>
<div class="menu1" id="menu1">
<h1>¿What Time is it in Disney World?</h1>
</div>
<div class="watch" id="complete-watch">
<div class="numbers" id="watch_numbers">
<img src="reloj-en-png.png" height="300" width="300">
</div>
<div class="needles" id="grupo_de_agujas">
<div class="needles_hours" id="needle1">
<img src="PinClipart.com_right-clipart_18023.png" alt="mickey-hand" width="100px" height="100px"></div>
<div class="needles_minutes" id="needle2">
<img src="PinClipart.com_right-clipart_18023.png" alt="mickey-hand" width="100px" height="60px"></div>
<div class="needles_seconds" alt="mickey-hand" id="needle3"></div>
<div class="mickey" id="figure">
<img src="mickey-no-hands-transparent-better2.png"alt="mickey-mouse-disney" width="200px" height="200px"></div>
</div>
</div>
</body>
</html>