-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
86 lines (78 loc) · 1.44 KB
/
style.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
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
.wrapper{
width: 100%;
height: 100vh;
background:linear-gradient(135deg,green,blue);
padding: 10px;
}
.todo-app{
width: 100%;
max-width: 540px;
background-color: white;
margin: 100px auto 20px;
padding: 40px 30px 70px;
border-radius: 10px;
}
.search-box{
display: flex;
align-items: center;
justify-content: space-between;
margin-top: 20px;
}
.search-box input{
flex: 1;
position: relative;
padding:5px 30px 5px 30px;
border-radius: 20px;
background-color: lightgrey;
}
.search-box button{
position: absolute;
right: 33%;
border-radius: 20px;
background-color: red;
color: white;
padding:5px 20px 5px 20px;
cursor: pointer;
}
ul li{
list-style: none;
padding: 12px 8px 12px 50px;
user-select: none;
cursor: pointer;
position: relative;
}
ul li::before{
content: "";
position: absolute;
height: 28px;
width: 28px;
border-radius: 50%;
background-color: lightblue;
top: 12px;
left: 8px;
}
ul li.checked{
color: black;
text-decoration: line-through;
}
ul li.checked::before{
background-color: rgb(12, 14, 14);
}
ul li span{
position: absolute;
right: 0;
top: 10px;
width: 30px;
height: 30px;
border-radius: 50%;
text-align: center;
}
ul li span:hover{
cursor: pointer;
background-color: lightblue;
}