-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
42 lines (38 loc) · 851 Bytes
/
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
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500;600;700&display=swap');
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Quicksand', sans-serif;
}
section {
position: relative;
width: 100%;
height: 100vh;
background: #111111;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}
section h2 {
position: relative;
font-size: 14em;
color: #111111;
font-weight: 300;
cursor: default;
z-index: 1;
}
.circle {
position: absolute;
width: 100%;
height: 100%;
background: #ff2562;
pointer-events: none;
transition: 0.1s;
clip-path: circle(50px at var(--x) var(--y));
}
section h2:hover~.circle {
background: #64ff14;
clip-path: circle(200px at var(--x) var(--y));
}