-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
114 lines (112 loc) · 1.97 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
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
*{
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Josefin Sans', sans-serif;
}
header{
width: 100%;
height: 100vh;
background-image:linear-gradient(rgba(0,0,0,0.3),rgba(0,0,0,0.1)), url(img/aaa.jpg);
background-size: cover;
}
nav{
width: 100%;
height: 15vh;
background: rgba(0,0,0,0.2);
color: #fff;
display: flex;
justify-content: space-between;
align-items: center;
text-transform: uppercase;
}
nav .logo{
width: 25%;
text-align: center;
color: pink;
}
nav .menu{
width: 40%;
display: flex;
justify-content: space-around;
}
nav .menu a{
width: 25%;
text-decoration: none;
color: #fff;
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:#fff;
}
section{
}
section h3{
font-size: 35px;
font-weight:200;
letter-spacing: 3px;
text-shadow: 1px 1px 2px black;
}
section h1{
margin: 30px 0px 20px 0px;
margin-left:
font-size: 55px;
font-weight: 700;
text-shadow: 2px 1px 5px black;
text-transform: uppercase;
}
section p{
font-size: 25px;
color: #eee;
word-spacing: 3px;
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: 500;
text-decoration: none;
letter-spacing: 1px;
transition: all .5s ease;
}
section .button1{
background: #fff;
color: black;
}
section .button2{
background: green;
color: #fff;
}
.button1:hover{
background: green;
color: #fff;
}
.button2:hover{
background: #fff;
color: black;
}
.change-content:after{
content: '';
animation: changetext 10s infinite linear;
color: red;
}
@keyframes changetext{
0%{content:"Cox's Bazar";}
25%{content:"Bandarnan";}
50%{content:"Sundarban";}
75%{content:"Chittagong";}
100%{content:"Sylhet";}
}