-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.css
59 lines (44 loc) · 836 Bytes
/
main.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
*, *::after, *::before{
box-sizing: border-box;
}
/* ---------------------- */
body{
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
background-color: rgb(77, 49, 49);
overflow: hidden;
}
.img__container{
width: 600px;
height: 400px;
border-radius: 50px;
position: relative;
box-shadow: 5px 15px 10px 15px black;
}
.img__container img{
width: 100%;
height: 100%;
border: 8px solid gray;
border-radius: 50px;
position: absolute;
}
#slider{
width: 100%;
height: 100%;
position: absolute;
-webkit-appearance: none;
background: transparent;
}
#slider::-webkit-slider-thumb{
-webkit-appearance: none;
width: 30px;
height: 30px;
border: 5px solid rgb(255, 210, 210);
border-radius: 50%;
cursor: pointer;
}
#two{
clip-path: polygon(50% 0, 100% 0, 100% 100%, 50% 100%);
}