-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBanner.css
More file actions
58 lines (52 loc) · 1.04 KB
/
Banner.css
File metadata and controls
58 lines (52 loc) · 1.04 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
.banner{
position: relative;
height: 448px;
color: white;
object-fit: contain;
}
.banner__contents{
margin-left: 30px;
padding-top: 140px;
height: 190px;
}
.banner__title{
font-size: 3rem;
font-weight: 800;
padding-bottom: 0.3rem;
}
.banner__description{
width: 45rem;
line-height: 1.3;
padding-top: 1rem;
font-size: 0.8rem;
max-width: 360px;
height: 80px;
}
.banner--fadeBottom{
height: 7.4rem;
background-image: linear-gradient(
180deg,
transparent,
rgba(37,37,37,0.61),
#111
);
}
.banner__button{
cursor: pointer;
color: #fff;
outline: none;
border: none;
font-weight: 700;
border-radius: 0.2vw;
padding-left: 2rem;
padding-right: 2rem;
margin-right: 1rem;
padding-top: 0.5rem;
background-color: rgba(51,51,51,0.5);
padding-bottom: 0.5rem;
}
.banner__button:hover{
color: #000;
background-color: #e6e6e6;
transition: all 0.2s;
}