-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTodo.css
81 lines (69 loc) · 1.2 KB
/
Todo.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
body{
font-family: 'Roboto', sans-serif;
background: linear-gradient(90deg, #2BC0E4 10%, #EAECC6 90%)
}
#container {
width: 360px;
margin: 100px auto;
background: #f7f7f7;
box-shadow: 0 0 3px rgba(0,0,0,0.1);
}
.completed {
text-decoration: line-through;
color: gray;
}
h1 {
background: #2980b9;
color: white;
margin: 0;
padding: 10px 20px 10px 20px;
text-transform: uppercase;
font-size: 24px;
font-weight: normal;
}
ul {
list-style: none;
margin: 0;
padding: 0;
}
li{
background: #fff;
line-height: 40px;
height: 40px;
color: #666;
}
li:nth-child(2n){
background: #f7f7f7;
}
input{
font-size: 18px;
background: #f7f7f7;
width: 100%;
padding: 13px 13px 13px 20px;
box-sizing: border-box;
border: none;
color: #2980b9;
}
input:focus {
background: #fff;
border: 2px solid #2980b9;
outline: none;
}
.fa-plus {
float: right;
}
span {
background: #f80909;
color: #fff;
width: 0;
height: 40px;
margin-right: 20px;
display: inline-block;
text-align: center;
transition: 0.2s linear;
opacity: 0;
}
li:hover span {
width: 40px;
opacity: 1;
}