Skip to content

Commit 4bb42f0

Browse files
Added some styling to the Css file
1 parent 70fd623 commit 4bb42f0

File tree

1 file changed

+64
-0
lines changed

1 file changed

+64
-0
lines changed

Sprint-3/todo-list/style.css

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,65 @@
1+
.completed {
2+
text-decoration: line-through;
3+
color: gray;
4+
}
15

6+
.todo-icon {
7+
cursor: pointer;
8+
margin-left: 8px;
9+
font-size: 1.2rem;
10+
padding: 8px;
11+
color: inherit;
12+
}
13+
14+
.completed .fa-check {
15+
color: green;
16+
}
17+
18+
.todo-icon:hover {
19+
opacity: 0.7;
20+
}
21+
22+
.todo-container {
23+
max-width: 400px;
24+
margin: 50px auto;
25+
text-align: center;
26+
}
27+
28+
.todo-container form > div {
29+
margin-bottom: 15px;
30+
}
31+
32+
#todoInput {
33+
width: 100%;
34+
padding: 10px;
35+
font-size: 1rem;
36+
}
37+
38+
button {
39+
border-radius: 5px;
40+
padding: 12px 20px;
41+
font-size: 1rem;
42+
cursor: pointer;
43+
min-height: 44px;
44+
}
45+
46+
button:hover {
47+
opacity: 0.9;
48+
}
49+
50+
.list-group-item {
51+
display: flex;
52+
justify-content: space-between;
53+
align-items: center;
54+
padding: 10px 15px;
55+
margin-bottom: 8px;
56+
}
57+
58+
.badge {
59+
display: flex;
60+
gap: 8px;
61+
padding: 6px 10px;
62+
background-color: #f8f9fa;
63+
color: #000;
64+
border-radius: 50px;
65+
}

0 commit comments

Comments
 (0)