/
eyesapp.css
71 lines (62 loc) · 1.04 KB
/
eyesapp.css
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
body {
font-size: 14px;
font-family: sans-serif;
}
h1 {
font-family: 'Comic Sans MS';
text-align: center;
font-size: 20px;
}
p {
text-align: center;
}
eye-app {
width: 300px;
display: block;
margin: 0px auto;
border: 2px solid #365db1;
border-radius: 5px;
padding: 15px;
text-align: center;
}
eye-app label{
margin-top: 15px;
display: block;
}
eye-app input {
width: 100%;
margin-top: 5px;
font-size: 24px;
border-top: none;
border-left: none;
border-right: none;
border-bottom: 2px solid #999;
}
eye-app div.workspace {
position: relative;
margin: 0;
padding: 0;
}
eye-app div.workspace img.base {
width: 300px;
height: auto;
display: block;
}
eye-app div.eye {
display: block;
position: absolute;
border-radius: 30px;
overflow: hidden;
}
eye-app div.eye.white {
background-color: white;
}
eye-app div.eye.ball {
background-color: #241d41;
}
eye-app div.eyelid {
display: block;
position: absolute;
background-color: black;
transition: 0.1s; /* Animate the closing of the eyelid */
}