-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathto do list.css
82 lines (74 loc) · 1.32 KB
/
to do list.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
#container{
background-color:#f7f7f7;
margin:100px auto;
width:360px;
box-shadow:0 0 5px rgba(0,0,0,0.7);
}
span{
background-color:red;
margin-right:20px;
height:40px;
text-align:center;
color:white;
display: inline-block;
width:0;
margin-left:0;
opacity:0;
}
li:hover span{
width:40px;
transition:0.2s linear;
opacity:1;
}
.completed{
text-decoration: line-through;
color:gray;
}
input{
background-color:#f7f7f7;
width:100%;
font-size:18px;
padding:13px 13px 13px 20px;
box-sizing:border-box;
color:#2980b9;
border:3px solid rgba(0,0,0,0);
}
input:focus{
background-color: #fff;
border:3px solid #2980b9;
outline: none;
}
i{
float:right;
}
h1{
background-color: #2980b9;
margin:0;
color:white;
text-transform: uppercase;
padding:10px 20px;
font-size:24px;
font-weight:normal;
}
ul{
list-style-type: none;
margin:0;
padding:0;
}
li{
padding:15px 20px;
font-family:segoe print;
background-color: #fff;
height:40px;
line-height:40px;
color:#666;
padding:0;
}
body{
background: #a8ff78; /* fallback for old browsers */
background: -webkit-linear-gradient(to right, #78ffd6, #a8ff78); /* Chrome 10-25, Safari 5.1-6 */
background: linear-gradient(to right, #78ffd6, #a8ff78); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}
li:nth-of-type(2n){
background-color: #f7f7f7
}