-
Notifications
You must be signed in to change notification settings - Fork 0
/
Banner.css
57 lines (51 loc) · 981 Bytes
/
Banner.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
53
54
55
56
57
.banner{
position: relative;
height: 450px;
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{
line-height: 1.3;
padding-top: 1rem;
font-size: 0.8rem;
max-width: 360px;
height: 80px;
}
.banner_fadeButton{
height: 7.5rem;
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;
background-color: rgba(51,51,51,0.5);
padding-bottom: 0.5rem;
padding-top: 0.5rem;
}
.banner_button:hover{
color: #000;
background-color: #e6e6e6;
transition: all 0.5s;
}