-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
84 lines (83 loc) · 1.64 KB
/
style.css
File metadata and controls
84 lines (83 loc) · 1.64 KB
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
*{
margin: 0%;
padding: 0%;
box-sizing: border-box;
}
.header{
width: 100%;
height: 100vh;
background: #000942;
padding-right: 11%;
padding-left:8% ;
position: relative;
background-image: url(971.jpg);
background-size: 38%;
background-repeat: no-repeat;
background-position: 92% 100%;
}
.top-nav{
display: flex;
align-items: center;
justify-content: space-between;
padding: 30px 0 15px;
border-bottom: 2px solid black;
}
.top-nav ul li{
list-style: none;
display: inline-block;
margin-right: 30px;
margin-top: 10px;
margin-bottom: 10px;
}
.top-nav ul li a{
text-decoration: none;
color: #fff;
font-size: 15px;
}
.top-nav button{
background: #e91e63;
color: #fff;
border: 0;
outline: 0;
border-radius:30px;
padding: 10px 20px;
cursor: pointer;
}
.side-nav{
position: fixed;
background: fixed;
left: 0;
top: 0;
width: 100wh;
height: 100vh;
display: flex;
justify-content: space-between;
align-items: center;
flex-direction: column;
padding: 50px 0px;
background-color: aqua;
background: linear-gradient(#00bcd4, #e91e63 ,#00bcd4 ,#e91e63) ;
background-size: 100% 500%;
background-position: 0 40%;
}
.side-nav:hover{
animation: backcolor 20s linear infinite reverse;
}
@keyframes backcolor {
0%{
background-position: 0 0%;
}
100%{
background-position: 0 400%;
}
}
.side-nav .logo{
width: 60px;
cursor: pointer;
}
.side-nav a{
text-decoration: none;
color: white;
transform: rotate(-90deg) translateX(50%);
width: max-content;
}