-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
92 lines (81 loc) · 1.38 KB
/
style.css
File metadata and controls
92 lines (81 loc) · 1.38 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
* {
box-sizing: border-box;
}
body {
margin: 0;
padding: 0;
background: #fefefe;
font-family: 'Segoe UI', sans-serif;
display: flex;
height: 100vh;
align-items: center;
justify-content: center;
}
.container {
width: 90%;
max-width: 500px;
background: #fff;
border-radius: 16px;
padding: 30px;
box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
text-align: center;
}
h1 {
margin-bottom: 20px;
color: #222;
}
form {
display: flex;
justify-content: space-between;
gap: 10px;
margin-bottom: 20px;
}
input {
flex: 1;
padding: 10px;
font-size: 1rem;
border-radius: 8px;
border: 1px solid #ddd;
}
button {
padding: 10px 20px;
background: #2ecc71;
border: none;
color: white;
font-weight: bold;
border-radius: 8px;
cursor: pointer;
transition: background 0.3s ease;
}
button:hover {
background: #27ae60;
}
ul {
list-style: none;
padding: 0;
}
li {
background: #f4f4f4;
margin-bottom: 10px;
padding: 10px 15px;
border-radius: 10px;
text-align: left;
animation: pop 0.3s ease;
display: flex;
justify-content: space-between;
align-items: center;
}
@keyframes pop {
0% {
transform: scale(0.9);
opacity: 0;
}
100% {
transform: scale(1);
opacity: 1;
}
}
li.done {
text-decoration: line-through;
opacity: 0.6;
}