-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtodo.css
115 lines (96 loc) · 1.66 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
body {
font-family: sans-serif;
background-color: white;
}
.container {
width: 50%;
margin: auto;
height: 80vh;
display: flex;
flex-direction: column;
justify-content: start;
padding: 0 20px;
margin-top: 5%;
}
.container {
background-color: whitesmoke;
}
h1 {
text-align: center;
}
.input-div,
.item {
/* height: 50px; */
border-radius: 10px;
display: flex;
justify-content: space-between;
align-items: center;
margin: 10px 0;
padding: 0 10px;
}
form {
background-color: rgb(235, 235, 235);
padding: 0 15px;
border-radius: 10px;
}
.item {
background-color: white;
max-width: 100%;
}
.input-div {
position: relative;
}
input {
height: 25px;
width: 70%;
border: none;
outline: none;
border-radius: 10px;
}
.submitBtn {
position: absolute;
right: 0;
}
.itemTitle,
input {
flex: 1;
}
#btn,
.deleteBtn {
/* height: 25px; */
border: none;
outline: none;
border-radius: 10px;
background-color: rgb(28, 182, 182);
color: white;
padding: 8px 15px;
cursor: pointer;
}
.deleteBtn {
background-color: red;
padding: 8px;
margin-left: 5px;
}
.checkBtn {
height: 5px;
width: 5px;
background-color: transparent;
border: 3px solid black;
padding: 10px;
border-radius: 5px;
cursor: pointer;
position: relative;
}
.checkBtn.checked {
border: 3px solid rgb(58, 247, 58);
}
.checkBtn.checked::before {
content: '\2713';
color: rgb(58, 247, 58);
font-weight: bolder;
font-size: 20px;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}