-
Notifications
You must be signed in to change notification settings - Fork 813
Expand file tree
/
Copy pathstyle.css
More file actions
80 lines (68 loc) · 1.38 KB
/
Copy pathstyle.css
File metadata and controls
80 lines (68 loc) · 1.38 KB
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
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
*{
padding: 0;
margin: 0;
box-sizing: border-box;
}
.wrapper{
position: absolute;
transform: translate(-50%, -50%);
left: 50%;
top: 50%;
}
.container{
background-color: #000;
height: calc(15vmin * 5);
width: calc(15vmin * 4);
display: grid;
grid-template-columns: repeat(4, 1fr);
padding: 15px;
gap: 10px;
border-radius: 10px;
box-shadow: 0 10px 30px rgba(90, 90, 100, 0.4);
}
.container div{
position: relative;
height: 100%;
width: 100%;
}
button{
width: 100%;
margin-top: 30px;
background-color: #000;
padding: 18px 0;
color: #fff;
border: none;
outline: none;
cursor: pointer;
font-family: 'Poppins', sans-serif;
font-size: 3.5vmin;
border-radius: 5px;
}
.quad-circle-1{
clip-path: circle(100% at 0 0);
}
.quad-circle-2{
clip-path: circle(100% at 100% 0);
}
.quad-circle-3{
clip-path: circle(100% at 100% 100%);
}
.quad-circle-4{
clip-path: circle(100% at 0 100%);
}
.triangle-1{
clip-path: polygon(0 0, 0% 100%, 100% 0);
}
.triangle-2{
clip-path: polygon(0 0, 100% 0%, 100% 100%);
}
.triangle-3{
clip-path: polygon(0 100%, 100% 0%, 100% 100%);
}
.triangle-4{
clip-path: polygon(0 0, 0% 100%, 100% 100%);
}
.circle{
border-radius: 50%;
}