-
Notifications
You must be signed in to change notification settings - Fork 9
/
knit_fest.html
116 lines (107 loc) · 2.85 KB
/
knit_fest.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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
<!DOCTYPE html>
<html>
<head>
<title></title>
<link href="https://fonts.googleapis.com/css2?family=Caveat:wght@700&display=swap" rel="stylesheet">
<link rel="stylesheet"href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.7.2/animate.min.css">
<style>
*{
margin: 0;padding: 0;box-sizing: border-box;
font-family: 'Caveat', cursive;
}
header{
width: 100%;height: 100vh;
background-image: linear-gradient(rgba(0,0,0,0.5),rgba(0,0,0,0.2)),url('https://i.imgur.com/32yVAnU.jpg');
background-repeat: no-repeat;
background-size: cover;
}
nav{
width:100%;height:15vh;
background:rgba(0,0,0,0.3);
color:white;display: flex;justify-content: space-between;
align-items: center;text-transform: uppercase;
}
nav .logo{
width: 25%;text-align: center;
}
nav .menu{
width:40%;
display:flex;justify-content: space-around;
}
nav .menu a{width:25%;text-decoration: none;color:white;
font-weight: bold;
}
nav .menu a:first-child{color:#00b894;}
main{
width: 100%;height: 85vh;
display: flex;justify-content: center;
align-items: center;text-align: center;color:white;
}
section h3{
font-size: 35px;font-weight: 300;letter-spacing: 3px;
text-shadow: 1px 1px 2px black;
}
section h1{
margin: 30px 0 20px 0;
font-size: 55px;
font-weight: 700;
text-shadow: 3px 2px 6px black;
text-transform: uppercase;
}
section p{
font-size: 25px;
word-spacing: 2px;
margin-bottom: 25px;
text-shadow: 1px 1px 1px black;
}
section a{
padding:12px 30px;
border-radius: 4px;
outline:none;
text-transform: uppercase;
font-size: 13px;
font-weight: 600;
text-decoration: none;
letter-spacing: 1px;
}
section .btone{
background:white;
color:black;
}
section .bttwo{background:#00b894;
color:white
}
.chnge:after{
content:'';
animation:changetext 10s infinite linear;color:#00b894;
}
@keyframes changetext{
0%{content: " TAVARAN";}
40%{content:" ANUBUTI";}
80%{content:" FEST";}
}
</style>
</head>
<body>
<header>
<nav>
<div class="logo"><h1 class="animated infinite heartBeat">Bharatwasii</h1></div>
<div class="menu">
<a href="#">Home</a>
<a href="#">About</a>
<a href="#">Gallery</a>
<a href="#">Contact</a>
</div>
</nav>
<main>
<section>
<h3>WELCOME TO KNIT</h3>
<h1>KNIT<span class="chnge"></span></h1>
<p>"HUM SAB KNITIAN HAI"</p>
<a href="#" class="btone">Learn more</a>
<a href="#" class="bttwo">Signup here</a>
</section>
</main>
</header>
</body>
</html>