-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
46 lines (42 loc) · 707 Bytes
/
style.css
File metadata and controls
46 lines (42 loc) · 707 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
46
body{
font-family: "Mulish", serif;
font-optical-sizing: auto;
font-weight: 400;
font-style: normal;
font-size: 18px;
}
h3{
font-size: 22px;
color: #fff;
}
.container{
width: 90vw;
margin: 0 auto;
}
.panels{
display: flex;
}
.panel{
background-position: center;
background-repeat: no-repeat;
background-size: cover;
flex: 0.5;
margin: 10px;
border-radius: 12px;
min-height: 620px;
position: relative;
transition: flex 0.7s ease-in;
}
.panel h3{
position: absolute;
padding: 10px;
bottom: 10px;
opacity: 0;
}
.panel.active{
flex: 5;
}
.panel.active h3{
opacity: 1;
transition: opacity 0.3s ease-in 0.4s;
}