-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
61 lines (51 loc) · 882 Bytes
/
style.css
File metadata and controls
61 lines (51 loc) · 882 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, Helvetica, sans-serif;
background-color: #f4f4f4;
margin: 0;
padding: 0;
}
.todo-container{
background-color: #fff;
max-width: 500px;
margin: 50px auto;
padding: 30px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
border-radius: 5px;
}
.todo-container h1{
text-align: center;
}
#todo-form{
display: flex;
margin-bottom: 20px;
}
#todo-input{
flex: 1;
padding: 10px;
font-size: 16px;
}
#todo-form button{
padding: 10px;
font-size: 16px;
}
#todo-list{
list-style: none;
padding: 0;
}
.todo-item{
display: flex;
align-items: center;
padding: 15px;
background-color: #eee;
margin-bottom: 10px;
}
.todo-item.completed .task{
text-decoration: line-through;
color: gray;
}
.todo-item .task{
flex: 1;
}
.todo-item button{
margin-left: 5px;
}