-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinput.css
80 lines (65 loc) · 1.27 KB
/
input.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
71
72
73
74
75
76
77
78
79
80
@tailwind base;
@tailwind components;
@tailwind utilities;
@layer base {
body{
font-family: 'Inter', sans-serif;
}
}
@layer components{
.container{
@apply max-w-[1280px]
}
}
/* <----------------------- Burger menu setup -----------------------> */
.grid__cont{
grid-template-columns: repeat(auto-fit , minmax(300px,1fr));
grid-gap:50px;
}
.rob{
font-family: 'Roboto', sans-serif
}
.burger{
height: 20px;
position: relative;
width: 30px;
}
.burger-line{
display: flex;
width: 30px;
height: 2px;
background-color: rgb(255, 255, 255);
transition: .3s all ease;
}
.top-line{
position: absolute;
left:0;
top: 0;
}
.mid-line{
position: absolute;
left: 0;
top: 50%;
transform: translate(0,-50%);
}
.bottom-line{
position: absolute;
left: 0;
bottom: 0;
}
.burger.active>.top-line{
transform: translateY(8px) rotate(45deg);
transition: .3s all ease;
}
.burger.active>.mid-line{
margin-top: -10px;
transform: translateY(8px) rotate(135deg);
transition: .3s all ease;
}
.burger.active>.bottom-line{
opacity: 0;
transition: .3s all ease;
}
.container-card{
margin: 0 auto;
}