app width 80 margin auto ul padding 4px 4px border 1px solid black li

 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
#app{
width:80%;
margin:auto;
}
ul{
padding: 4px 4px;
border: 1px solid black;
}
li{
list-style-type:none;
padding:4px 4px;
}
li:hover{
background-color:#eee;
}
li:nth-child(2n){
background-color:#ddd;
}
li:nth-child(2n):hover{
background-color:#ccc;
}
button{
width:100px;
height:40px;
background-color:#eef;
}
button:hover{
cursor:pointer;
}
button:hover:disabled{
cursor:not-allowed;
}