-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnewyear.html
79 lines (69 loc) · 2.2 KB
/
newyear.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<title>New Year 2021</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
body {
font-family: Arial, Helvetica, sans-serif;
background: #000;
color: #fff;
overflow: hidden;
}
.container {
display: flex;
flex-direction: column;
background: url('https://i.ibb.co/1sQXJ4z/page-bg.png') no-repeat center center/cover;
height: 100vh;
align-items: center;
justify-content: center;
text-align: center;
}
.animated {
font-family: 'Charm', cursive;
margin: 0;
padding: 0;
font-size: 6rem;
background: url('https://i.ibb.co/89Cf3dm/text-bg.png') no-repeat;
background-clip: text;
-webkit-background-clip: text;
color: transparent;
animation: moveBg 90s linear infinite;
-webkit-animation: moveBg 90s linear infinite;
}
.University {
background: url('https://i.ibb.co/89Cf3dm/text-bg.png') no-repeat;
background-clip: text;
-webkit-background-clip: text;
color: transparent;
animation: moveBg 90s linear infinite;
-webkit-animation: moveBg 90s linear infinite;
}
@keyframes moveBg {
0% {
background-position: 0% 30%;
}
100% {
background-position: 100% 50%;
}
}
@media only screen and (max-width: 600px) {
img {
width: 300px;
}
.animated {
font-size: 3rem;
}
}
</style>
</head>
<body>
<div class="container">
<h1 class="animated">Happy New Year 2021</h1>
<p><img src="https://i.ibb.co/sQ89d3N/front.png" alt="DSC-UOL" width="500px"></p>
<p class="University" style="text-transform: uppercase;font-family: 'Charm', cursive; padding: 0;
font-size: 1.2rem;">University Of Lahore</p>
</div>
</body>
</html>