-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
70 lines (70 loc) · 1.26 KB
/
style.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
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
body{
width: 100%;
height: 100%;
}
#container{
width: 100%;
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
position: relative;
background: radial-gradient(#f2761e,#f2761e);
}
.box{
width: 150px;
height: 150px;
display: flex;
align-items: center;
justify-content: center;
position: fixed;
top: 0;
left: 0;
}
.box img{
width: 100%;
height: 100%;
object-fit: cover;
position: absolute;
}
.box .eye{
position: absolute;
width: 35px;
height: 35px;
display: block;
background-color: #fff;
margin: 0 20px;
border-radius: 50%;
box-shadow: 0px 5px 45px rgba(0, 0, 0, 0.2),
inset 0 0 15px #849cb028,
inset 0 0 15px #849cb028;
z-index: 99;
border: 1px solid;
}
.eye:nth-child(2){
position: absolute;
top: 45px;
left: 24px;
}
.eye:nth-child(3){
position: absolute;
top: 45px;
left: 76px;
}
.box .eye::before{
content: '';
position: absolute;
top: 50%;
left: 10px;
width: 16px;
height: 16px;
background-color: #083f87;
transform: translate();
border-radius: 50%;
box-sizing: border-box;
}