-
Notifications
You must be signed in to change notification settings - Fork 1
/
todolist.css
76 lines (64 loc) · 1.06 KB
/
todolist.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
#container{
width: 360px;
margin:100px auto;
background-color: white;
}
h1{
margin: 0 0;
color: white;
background-color: rgb(12, 104, 140);
padding:20px 10px;
font-size: 24px;
}
ul{
width: 360px;
margin:0 0;
list-style: none;
padding-left: 0;
}
body{
background: linear-gradient(to right,rgb(12, 159, 216),white);
}
.selected{
color: gray;
text-decoration: line-through;
}
input{
display: none;
box-sizing: border-box;
height: 40px;
font-size: 18px;
width: 100%;
color: rgb(12, 104, 140);
border:3px solid rgba(0,0,0,0);
}
input:focus{
outline: none;
border:3px solid rgb(12, 104, 140);
}
li{
height: 40px;
line-height: 40px;
font-size: 18px;
color: #666;
}
li:nth-of-type(2n){
background-color: rgb(178, 178, 168);
}
.fa-plus{
float: right;
}
span{
color:white;
background-color: rgb(223, 5, 9);
display: inline-block;
margin-right:20px;
text-align: center;
width:0;
opacity: 0;
transition: linear 0.2s;
}
li:hover span{
width: 40px;
opacity: 1.0;
}