-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
52 lines (49 loc) · 810 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
43
44
45
46
47
48
49
50
51
52
body {
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
height: 500px;
}
.tabs {
border: 1px solid;
padding: 10px;
}
.tabs__nav {
display: flex;
flex-direction: row;
margin-bottom: 30px;
}
.tabs__nav-item {
width: 200px;
outline: 1px solid;
text-align: center;
padding: 10px 0;
cursor: pointer;
}
.tabs__nav-item:hover{
background-color: aquamarine;
}
.tab__nav-active {
background-color: rgb(150, 89, 158);
}
.tabs__content-item {
display: none;
}
.tab__content-active {
display: block;
}
/* Анимация табов */
.faded {
animation-name: faded;
animation-duration: 1.5s;
}
@keyframes faded {
from {
opacity: 0.1;
}
to {
opacity: 1;
}
}