-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcss to do.css
89 lines (85 loc) · 1.95 KB
/
css to do.css
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
body {
font-family: 'aril', sans-serif;
background-color: lightblue;
background-image: url(sample image.jpeg);
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
/* Container for the to-do list */
.todo-container {
background-color: black;
width: 400px;
padding: 20px;
border-radius: 8px;
/* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); */
background-color: rgba(219, 254, 247, 0.45);
-webkit-backdrop-filter: blur(5px);
backdrop-filter: blur(5px);
box-shadow: 0 0 5px 5px rgba(0, 0, 0, 0.1454901961);
border-radius: 11px;
}
/* Title of the to-do list */
.todo-container h1 {
text-align: center;
color: #232020;
margin-bottom: 20px;
}
/* Styles for the input field and add button */
.todo-input {
display: flex;
justify-content: space-between;
margin-bottom: 20px;
}
.todo-input input {
width: 75%;
padding: 10px;
border: 1px solid #ddd;
border-radius: 4px;
font-size: 16px;
}
.todo-input button {
width: 20%;
padding: 10px;
background-color: black;
border: 1px solid grey;
border-radius: 4px;
color: white;
font-size: 16px;
cursor: pointer;
}
.todo-input button:hover {
background-color: rgb(1, 156, 156);
}
.todo-list {
list-style: decimal-leading-zero ;
padding: 0;
}
.todo-list li {
background-color: white;
padding: 15px;
margin-bottom: 10px;
border: 1px solid #ddd;
border-radius: 4px;
display: flex;
justify-content: space-between;
align-items: center;
}
.todo-list li:nth-child(even) {
background-color: white;
}
/* Styles for the delete button */
.todo-list button {
background-color: black;
border: blue;
border-radius: 4px;
color: white;
padding: 8px;
cursor: pointer;
}
.todo-list button:hover {
background-color: darkcyan;
}