-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
68 lines (61 loc) · 1 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
*{
margin: 0;
padding: 0;
}
body,
html{
width: 100vw;
height: 100vh;
}
body{
display: flex;
justify-content: center;
flex-direction: column;
align-items: center;
font-family: "Open sans", sans-serif;
}
.bg{
background: url(travel.jpg);
background-size: cover;
position: fixed;
top: -20px;
left: -20px;
right: -20px;
bottom: -20px;
filter: blur(15px);
z-index: -1;
}
.slogan{
margin-top: 24px;
font-size: 36px;
font-weight: 400;
color: #fff;
}
.mask{
width: 370px;
height: 196px;
-webkit-animation: move 20s infinite;
animation: move 20s infinite;
background-image: url(travel.jpg);
background-size: cover;
-webkit-mask: url(Raja.svg);
mask: url(Raja.svg);
-webkit-mask-size: cover;
mask-size: cover;
}
@-webkit-keyframes move{
0%{
background-position: 0 0;
}
50%{
background-position: 100% 0;
}
}
@keyframes move{
0%{
background-position: 0 0;
}
50%{
background-position: 100% 0;
}
}