-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlink.css
74 lines (73 loc) · 1.4 KB
/
link.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
body,html{
margin: 0;
padding: 0;
width: 100%;
height: 100vh;
font-family: sans-serif;
}
.Section_top{
width: 30%;
height: 50%;
overflow: hidden;
page-break-before: right;
padding-bottom: automatic;
background-image: url(images/image.jpg);
background-position: left;
background-repeat: no-repeat;
background-size: cover;
text-align: right;
justify-content: center;
animation: change 10s infinite ease-in-out;
}
.content{
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
text-transform: uppercase;
}
.content h1{
color: #fff;
font-size: 60px;
letter-spacing: 15px;
}
.content h1 span{
color: #111;
}
.content a{
background: #85c1ee;
padding: 10px 24px;
text-decoration: none;
font-size: 18px;
border-radius: 20px;
}
.content a:hover{
background: #034e88;
color: #fff;
}
@keyframes change{
0%
{
background-image: url(images/img1.jpg);
}
20%
{
background-image: url(images/img2.jpg);
}
40%
{
background-image: url(images/image.jpg);
}
60%
{
background-image: url(images/img4.jpg);
}
80%
{
background-image: url(images/img5.jpg);
}
100%
{
background-image: url(images/img1.jpg);
}
}