-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.css
More file actions
59 lines (59 loc) · 1.21 KB
/
main.css
File metadata and controls
59 lines (59 loc) · 1.21 KB
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
body {
font-family: Arial, sans-serif;
background:linear-gradient(to right , #76befd 10%, #07aab2 100%);;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
.todo-container {
background: #fff;
padding: 20px;
border-radius: 12px;
box-shadow: 0 4px 8px rgba(0,0,0,0.1);
width: 300px;
}
h2 {
text-align: center;
}
input {
width: 75%;
padding: 8px;
border: 1px solid #ddd;
border-radius: 6px;
}
button {
padding: 8px 10px;
margin-left: 5px;
background: #4CAF50;
color: white;
border: none;
border-radius: 6px;
cursor: pointer;
}
ul {
list-style: none;
padding: 0;
margin-top: 20px;
}
li {
padding: 8px;
margin-bottom: 5px;
background: #f0f0f0;
border-radius: 6px;
display: flex;
justify-content: space-between;
align-items: center;
}
li.completed {
text-decoration: line-through;
color: gray;
}
.delete {
background: red;
color: white;
padding: 4px 8px;
border: none;
border-radius: 6px;
cursor: pointer;
}