-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
108 lines (96 loc) Β· 2.22 KB
/
Copy pathstyle.css
File metadata and controls
108 lines (96 loc) Β· 2.22 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
* {
box-sizing: border-box;
margin: 0;
padding: 0;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
body {
min-height: 100vh;
display: flex;
justify-content: center;
align-items: center;
background: #2905f6;
}
.liquid-container {
position: relative;
background: rgba(168, 234, 230, 0.4);
padding: 12px;
border-radius: 32px;
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03), inset 0 1px 3px rgba(82, 68, 68, 0.6);
display: flex;
flex-direction: column;
gap: 12px;
filter: contrast(20);
background-clip: padding-box;
}
.liquid-bg {
position: absolute;
left: 12px;
top: 12px;
width: 220px;
height: 54px;
background: linear-gradient(135deg, #67e6df, #67e6df);
border-radius: 27px;
filter: blur(8px);
transition: transform 0.4s cubic-bezier(0.6, -0.28, 0.735, 0.045);
z-index: 2;
pointer-events: none;
}
.btn-pod {
position: relative;
width: 220px;
height: 54px;
background: rgba(180, 37, 190, 0.75);
border-radius: 27px;
box-shadow: inset 0 1px 2px rgba(89, 210, 145, 0.8), 0 2px 4px rgba(0, 0, 0, 0.02);
filter: blur(8px);
z-index: 1;
}
.interactive-layer {
position: absolute;
top: 12px;
left: 12px;
right: 12px;
bottom: 12px;
display: flex;
flex-direction: column;
gap: 12px;
z-index: 10;
}
.nav-btn {
width: 220px;
height: 54px;
background: none;
border: none;
display: flex;
align-items: center;
padding: 0 24px;
font-size: 15px;
font-weight: 600;
color: #555;
cursor: pointer;
gap: 12px;
outline: none;
transition: color 0.3s ease;
-webkit-tap-highlight-color: transparent;
}
.nav-btn svg {
width: 18px;
height: 18px;
fill: currentColor;
}
.nav-btn.active {
color: #ffffff;
}
#opt-1:checked~.liquid-container .liquid-bg {
transform: translateY(0);
}
#opt-2:checked~.liquid-container .liquid-bg {
transform: translateY(66px);
}
#opt-3:checked~.liquid-container .liquid-bg {
transform: translateY(132px);
}
input[type="radio"] {
display: none;
}