-
Notifications
You must be signed in to change notification settings - Fork 0
/
StyleSheet1.css
89 lines (75 loc) · 1.51 KB
/
StyleSheet1.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
83
84
85
86
87
88
89
* {
box-sizing: border-box;
}
.header {
background-color: #f44336;
padding: 50px 40px;
}
h2{
color : white;
text-align: center;
}
input {
width: 75%;
float: left;
margin: 0;
border: none;
border-radius: 0;
padding: 10px;
font-size: 14px;
}
.addBtn {
width: 25%;
background-color: #d9d9d9;
float: left;
padding: 10px;
text-align: center;
font-size: 14px;
cursor: pointer;
}
.addBtn:hover{
background-color: #bbb;
}
ul {
margin: 0;
padding: 0;
}
ul li {
cursor: pointer;
position: relative;
padding: 12px 8px 12px 40px;
background-color: #eee;
font-size: 18px;
}
ul li:nth-child(odd) {
background-color: #f9f9f9;
}
ul li:hover {
background-color: #ddd;
}
ul li.checked {
background-color: #888;
text-decoration: line-through;
color: #fff;
}
ul li.checked::before {
content: "";
border: #fff;
border-style: solid;
border-width: 0 2px 2px 0;
position: absolute;
transform: rotate(45deg);
top: 10px;
left: 16px;
height: 15px;
width: 7px;
}
.crossBtn {
padding: 14px 10px 10px 14px;
position: absolute;
top: 0;
right:0;
}
.crossBtn:hover {
background-color: #f44336
}