Skip to content

Commit 5313503

Browse files
committed
give the styles
1 parent 18472fe commit 5313503

File tree

1 file changed

+82
-0
lines changed

1 file changed

+82
-0
lines changed

Source-Code/ToDoList/style.css

+82
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
body {
2+
font-family: Arial, sans-serif;
3+
display: flex;
4+
justify-content: center;
5+
align-items: center;
6+
height: 100vh;
7+
margin: 0;
8+
background-color: #f4f4f4;
9+
}
10+
11+
.container {
12+
background-color: #fff;
13+
padding: 20px;
14+
border-radius: 8px;
15+
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
16+
17+
}
18+
19+
h1 {
20+
text-align: center;
21+
}
22+
23+
.form-container {
24+
margin-bottom: 20px;
25+
}
26+
27+
#task-input, #category-select, button {
28+
margin: 5px;
29+
padding: 10px;
30+
border: 1px solid #ccc;
31+
border-radius: 4px;
32+
}
33+
34+
button {
35+
background-color: #007bff;
36+
color: #fff;
37+
border: none;
38+
cursor: pointer;
39+
}
40+
41+
button:hover {
42+
background-color: #0056b3;
43+
}
44+
45+
.filter-container {
46+
margin-bottom: 20px;
47+
display: flex;
48+
justify-content: space-between;
49+
align-items: center;
50+
}
51+
52+
ul {
53+
list-style-type: none;
54+
padding: 0;
55+
}
56+
57+
li {
58+
background-color: #f9f9f9;
59+
margin: 5px 0;
60+
padding: 10px;
61+
border-radius: 4px;
62+
display: flex;
63+
justify-content: space-between;
64+
align-items: center;
65+
}
66+
67+
.task-text {
68+
flex: 1;
69+
}
70+
71+
.delete-btn {
72+
background-color: #dc3545;
73+
color: #fff;
74+
border: none;
75+
padding: 5px 10px;
76+
border-radius: 4px;
77+
cursor: pointer;
78+
}
79+
80+
.delete-btn:hover {
81+
background-color: #c82333;
82+
}

0 commit comments

Comments
 (0)