forked from kontur-web-courses/todo-list
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
61 lines (52 loc) · 974 Bytes
/
index.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
body {
font-family: Arial, sans-serif;
background-color: #f0f0f0;
padding: 20px;
}
.todo-list {
width: 300px;
margin: 0 auto;
background-color: #fff;
padding: 20px;
border-radius: 4px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.todo-list h1 {
text-align: center;
color: #333;
}
.add-todo {
display: flex;
justify-content: space-between;
margin-bottom: 20px;
}
.add-todo input[type="text"] {
flex-grow: 1;
padding: 5px;
margin-right: 10px;
border: 1px solid #ddd;
border-radius: 4px;
}
button {
padding: 5px 10px;
background-color: #007BFF;
color: #fff;
border: none;
border-radius: 4px;
cursor: pointer;
}
.todo-list ul {
padding: 0;
list-style-type: none;
}
.todo-list li {
display: flex;
align-items: center;
margin-bottom: 10px;
}
.todo-list li input[type="checkbox"] {
margin-right: 10px;
}
.todo-list li label {
flex-grow: 1;
}