-
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) · 975 Bytes
/
style.css
File metadata and controls
61 lines (53 loc) · 975 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: sans-serif;
background: #fafafa;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
.container {
background: #fff;
padding: 30px;
border-radius: 10px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
text-align: center;
width: 400px;
}
input {
padding: 10px;
width: 60%;
margin-right: 10px;
}
button {
padding: 10px;
background: #007bff;
color: white;
border: none;
border-radius: 5px;
cursor: pointer;
}
ul {
list-style: none;
padding: 0;
margin-top: 20px;
}
li {
background: #f0f0f0;
margin: 10px 0;
padding: 10px;
border-radius: 5px;
text-align: left;
position: relative;
cursor: pointer;
}
li.completed {
text-decoration: line-through;
color: gray;
}
.remove-btn {
position: absolute;
right: 10px;
color: red;
cursor: pointer;
}