-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
61 lines (53 loc) · 979 Bytes
/
style.css
File metadata and controls
61 lines (53 loc) · 979 Bytes
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
body {
font-family: Arial, sans-serif;
font-size: 20px;
background-color: rgb(97, 145, 145);
margin: 20px;
}
.todo-container {
max-width: 400px;
margin: 0 auto;
}
ul {
list-style-type: list;
padding: 0;
padding: 10px;
}
.done {
text-decoration: line-through;
color: rgb(0, 0, 0);
}
li {
padding: 10px;
border: 2px solid #000000;
margin-bottom: 5px;
display: flex;
justify-content: space;
align-items: center;
position: relative;
}
.remove-btn {
position: absolute;
right: -80px; /* Move the button outside the box */
background-color: red;
color: white;
border: none;
padding: 5px 10px;
cursor: pointer;
}
.remove-btn:hover {
background-color: darkred;
}
#todo-input {
width: 300px;
height: 30px;
padding: 10px;
font-size: 16px;
border: 1px solid #ccc;
border-radius: 5px;
}
.add-btn{
width: 100px;
height: 30px;
font-size: 16px;
}