-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
109 lines (94 loc) · 2.18 KB
/
style.css
File metadata and controls
109 lines (94 loc) · 2.18 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "Poppins", sans-serif;
}
body {
background: #6f3dbf;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
}
.todo-container {
background: #fff;
width: 90%;
max-width: 400px;
border-radius: 16px;
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
padding: 25px;
}
h1 {
text-align: center;
color: #333;
margin-bottom: 20px;
}
.input-section {
display: flex;
gap: 10px;
margin-bottom: 20px;
}
.input-section input {
flex: 1;
padding: 10px 15px;
border: 2px solid #ddd;
border-radius: 8px;
outline: none;
transition: 0.2s;
}
.input-section input:focus {
border-color: #667eea;
}
.input-section button {
background: #667eea;
color: white;
border: none;
border-radius: 8px;
padding: 10px 15px;
cursor: pointer;
transition: 0.2s;
}
.input-section button:hover {
background: #5563c1;
}
ul {
list-style: none;
max-height: 300px;
overflow-y: auto;
}
li.todoItems {
background: #f8f8f8;
padding: 12px 15px;
border-radius: 8px;
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 10px;
transition: 0.2s;
}
li.todoItems:hover {
transform: scale(1.02);
background: #f0f0f0;
}
li.todoItems i {
color: #ff5c5c;
cursor: pointer;
transition: color 0.2s;
}
li.todoItems i:hover {
color: #e63946;
}
.delete-all {
background: #ff5c5c;
border: none;
color: white;
width: 100%;
border-radius: 8px;
padding: 10px;
cursor: pointer;
transition: background 0.2s;
}
.delete-all:hover {
background: #e63946;
}