-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathEye pointer.css
More file actions
52 lines (50 loc) · 783 Bytes
/
Eye pointer.css
File metadata and controls
52 lines (50 loc) · 783 Bytes
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
body{
padding:0;
margin:0;
background:#333;
}
.eye{
width:200px;
height:200px;
background:#fff;
position:absolute;
top:50%;
left:50%;
transform:translate(-50%,-50%)
rotate(45deg);
border-radius:75% 0;
overflow:hidden;
cursor:pointer
}
.ball{
width:40px;
height:40px;
background:#222f3e;
border-radius:50%;
border:30px solid #576574;
position:absolute;
top:50%;
left:50%;
transform:translate(-50%,-50%);
}
.shut{
width:300px;
height:160px;
position:absolute;
top:50%;
left:50%;
transform:translate(-50%,-50%)
rotate(-45deg);
z-index:999;
}
.shut span{
display:block;
width:100%;
height:15%;
background:#2F4F4F;
border-radius:0 0 60% 60%;
transition:0.4s all;
}
.eye:hover > .shut span{
height:100%;
}