-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path111bar.css
More file actions
32 lines (28 loc) · 924 Bytes
/
Copy path111bar.css
File metadata and controls
32 lines (28 loc) · 924 Bytes
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
ul{
list-style-type: none; /* remove the dot */
padding: 0px; /* move the list to the left */
margin: 0px; /*no apprence change*/
overflow: hidden; /*no apprence change*/
background-color: green;
}
li a{
float: left; /* to make the list to the straight line */
display: block;
color: white;
padding: 10px 15px; /* create the space between stuff */
text-align: center; /*make the words in center*/
text-decoration: none; /* get rid of the underline */
border-right: 1px solid black; /* create the border */
min-width: 60px; /* Make the width even */
}
li a:hover{
/* the purpose is when the user move to the bar, the back ground
color will change and the words will shine */
background-color: darkgreen;
animation: myGlowAnimation;
animation-duration: 3s;
animation-iteration-count: infinite;
}
@keyframes myGlowAnimation{ /* code to make the words shine */
50%{text-shadow: opx opx 10px yellow;
}