-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
44 lines (44 loc) · 833 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
*{
padding: 0;
margin: 0;
box-sizing: border-box;
}
.banner {
height: 100vh;
width: 100vw;
background: cadetblue;
position: relative;
background: linear-gradient(rgba(0, 0, 0, 0.600),rgba(0, 0, 0, 0.600)),url(./img/background.jpg);
background-position: center;
background-repeat: no-repeat;
background-size: cover;
}
.banner h1 {
position: absolute;
top: 40%;
color: white;
font-size: 50px;
}
.banner p {
position: absolute;
top: 60%;
color: white;
font-size: 30px;
}
.type{
animation: border 400ms linear infinite;
}
@keyframes border {
0%{
border-right: none;
}
100%{
border-right: 0.5px solid black;
border-color: white;
}
}
@media only screen and (min-width: 688px){
.banner p {
top: 55%;
}
}