-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
45 lines (39 loc) · 834 Bytes
/
style.css
File metadata and controls
45 lines (39 loc) · 834 Bytes
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
.tabs-container {
max-width: 600px;
margin: 50px auto;
background: #fff;
border-radius: 8px;
box-shadow: 0 4px 15px rgba(0,0,0,0.1);
overflow: hidden;
}
.tab-header {
display: flex;
background: #f8f9fa;
border-bottom: 2px solid #eee;
}
.tab-btn {
flex: 1;
padding: 15px;
border: none;
background: none;
cursor: pointer;
font-weight: 600;
color: #666;
transition: 0.3s;
}
.tab-btn.active {
color: #4a90e2;
border-bottom: 3px solid #4a90e2;
}
.tab-content {
display: none; /* Hidden by default */
padding: 25px;
animation: fadeIn 0.4s ease-in-out;
}
.tab-content.active {
display: block; /* Shown when active */
}
@keyframes fadeIn {
from { opacity: 0; transform: translateY(10px); }
to { opacity: 1; transform: translateY(0); }
}