-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfirstweb.css
116 lines (113 loc) · 2.5 KB
/
firstweb.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
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
*{
margin: 0px; padding: 0px; box-sizing: border-box;
font-family: 'Josefin Sans', sans-serif;
}
header{
width:100%; height: 100vh;
background-image:linear-gradient(rgba(0,0,0,0.6),rgba(0,0,0,0.6)),url("Cultural Heritage of India.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;
display: flex; justify-content: space-around;
color: white;
font-weight: bold;
}
nav .menu a:first-child{
color:#00b894;
}
nav .menu{
width: 40%;
}
main{
width: 100%; height: 85vh;
display: flex;
justify-content: center;
align-items: center;
text-align: center;
color: white;
}
section h2{
font-size: 35px;
font-weight: 200px;
letter-spacing: 3px;
text-shadow: 1px 1px 2px;
}
section h1{
margin: 30px 0px 20px 0px;
font-size: 55px;
font-weight: 700px;
text-shadow:2px 1px 5px black ;
text-transform: uppercase;
}
section p{
font-size: 25px;
word-spacing: 2px;
margin-bottom: 25px;
text-shadow: 1px 1px 1px black;
}
section a{
padding: 20px;
border-radius: 20px;
outline: none;
text-transform: uppercase;
font-size: 13px;
font-weight: 500;
text-decoration: none;
letter-spacing: 1px;
transition: all .8s ease;
}
section .button1{
background: #00b894;
color: rebeccapurple;
font-weight: 700;
}
.button1:hover{
background: rebeccapurple;
color: #00b894;
font-weight: 700;
}
section .button2{
background: rebeccapurple;
color: #00b894;
font-weight: 700;
}
.button2:hover{
background: #00b894;
color: rebeccapurple;
font-weight: 700;
}
.change_content:after{
content:'';
animation:changetext 10s infinite linear;
color: red;
}
@keyframes changetext{
0%{
content: " DELHI";}
10%{ content: " JAIPUR";}
21%{content:" ARUNACHAL";}
32%{content:" RAJSTHAN";}
43%{content: " SIKKIM";}
54%{content: " MANIPUR";}
65%{content: " KERALA";}
76%{content: " KASHMIR";}
87%{content: " BIHAR";}
100%{content: " BENGAL";}
}