-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
88 lines (71 loc) · 1.29 KB
/
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
@import url('https://fonts.googleapis.com/css?Monserrat:300,400700&display=swap');
* {
padding: 0;
margin: 0;
box-sizing:border-box ;
}
html {
font-size: 10px;
font-family: 'Montserrat', sans-serif;
}
a{
text-decoration: none;
}
.container {
min-height: 100vh;
width: 100px;
display: flex;
align-items: center;
justify-content: center;
}
/* Hero section */
#hero {
background-image: url(./1627627338674.jpg);
background-size: cover;
background-position: top center;
position: relative ;
}
#hero::after{
content: '';
position: relative ;
left: 0;
top: 0;
height: 100%;
width: 100%;
background-color: black;
opacity: -7;
z-index: -1;
}
#hero h1 {
display: block;
width: fit-content;
font-size: 4rem ;
position: relative;
color: white;
}
#hero h1 span{
position: absolute;
top: 0;
left:0;
height: 100%;
width: 100%;
background-color: crimson;
}
#hero.cta {
display: inline-block;
padding: 10px 30px;
color: crimson;
background-color: transparent;
border: 2px solid crimson;
background-color: transparent ;
border: 2px solid rgb(27, 8, 12);
letter-spacing: 1rem;
margin-top: 30px;
transition: .3s ease background-color ,color;
}
#hero.cta:hover{
color:white;
background-color: crimson
}
/* end of herp section */
/* keyframes*/