-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwebpage.css
109 lines (89 loc) · 1.7 KB
/
webpage.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
.heading {
color: rgb(255, 255, 255);
font-style: italic;
position: absolute;
top: 40%;
width: 100%;
text-align: center;
font-size: 3cm;
}
.logo {
width: 100px;
background-color: white;
}
* {
padding: 0;
margin: 0;
box-sizing: 0;
}
body {
background-size: cover;
background-repeat: no-repeat;
height: 100px;
animation: animate 8s ease-in-out infinite
}
.menu-bar {
background: rgb(100, 12, 0);
text-align: center;
}
.menu-bar ul {
display: inline-flex;
list-style: none;
color: #fff;
}
.menu-bar ul li {
width: 120px;
margin: 15px;
padding: 15px;
}
.menu-bar ul li a {
text-decoration: none;
color: #fff;
}
.active,
.menu-bar ul li:hover {
background: #2bab0d;
border-radius: 3px;
}
.menu-bar .fa {
margin-right: 8px;
}
.sub-manu-1 {
display: none;
}
.menu-bar ul li:hover .sub-manu-1 {
display: block;
position: absolute;
background: rgb(0, 100, 0);
margin-top: 15px;
margin-left: 15px;
}
.menu-bar ul li:hover .sub-manu-1 ul {
display: block;
margin: 10px;
}
.menu-bar ul li:hover .sub-manu-1 ul li {
width: 150px;
padding: 10px;
border-bottom: 1px dotted #fff;
border-radius: 0;
text-align: left;
}
.menu-bar ul li:hover .sub-manu-1 ul li:last-child {
border-bottom: none;
}
.menu-bar ul li:hover .sub-manu-1 ul li a:hover {
color: #b2ff00;
}
fa-angle-right {
float: right;
}
@keyframes animate {
0%,
100% {
background-image: url(image1.png);
}
100% {
background-image: url(image2.jpg);
}
}