-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtesting.css
More file actions
113 lines (92 loc) · 1.86 KB
/
testing.css
File metadata and controls
113 lines (92 loc) · 1.86 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
109
110
111
112
113
.subscribe{
display: flex;
justify-content: center;
align-items: center;
max-width: 6rem;
}
.subscribe {
background-color: #ff3b5c;
color: white;
padding: 0.6rem 2.5rem;
text-decoration: none;
font-family: Arial, Helvetica, sans-serif;
font-weight: bold;
cursor: pointer;
border: none;
}
.darken {
background-color: gray;
animation: colorChange 4s linear infinite;
}
.darken::after {
content: "";
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
color: gray;
animation: colorChange 4s linear infinite;
}
@keyframes colorChange {
0% {
left: -100%;
}
50% {
left: 0;
}
100% {
left: 100%;
}
}
.menu-container {
position: relative;
}
.menu-toggle-btn {
cursor: pointer;
display: inline-block;
padding: 10px;
}
.hamburger {
display: block;
width: 20px;
height: 2px;
background-color: #000;
margin-bottom: 4px;
}
.menu {
position: absolute;
top: 100%;
left: 0;
width: 100%;
background-color: black;
padding: 10px;
display: none;
}
.menu a{
color: white;
}
.menu-toggle-btn,
.menu-toggle-btn:hover {
background-color: transparent;
border: none;
outline: none;
transition: 1s ease-in-out;
}
/* Styling for expanded menu */
#menu-toggle:checked ~ .menu {
display: block;
transition: 1s ease-in-out;
}
.container {
display: flex;
flex-wrap: wrap;
justify-content: flex-start;
align-items: flex-start;
width: 100%;
}
.item {
flex: 1 3 100px; /* Adjust the width as per your needs */
margin: 10px;
/* Additional styling for the flex items */
}