-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
89 lines (77 loc) · 1.48 KB
/
styles.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: Arial, sans-serif;
background-color: #f8f8f8;
margin: 0;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background-image: url("https://hbr.org/resources/images/article_assets/2020/08/Aug20_06_84753778.jpg");
}
.container {
width: 400px;
padding: 20px;
background-color: #fff;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
h1 {
text-align: center;
color: blue;
text-shadow: 2px 2px 4px skyblue;
}
.input-container {
display: flex;
align-items: center;
margin-bottom: 10px;
}
input[type="text"] {
flex: 1;
padding: 8px;
font-size: 16px;
}
button {
background-color: #4CAF50;
color: #fff;
border: none;
padding: 10px 20px;
cursor: pointer;
font-size: 16px;
margin-left: 10px;
display: inline-block;
border-radius: 10px;
box-shadow: 0 9px green;
}
ul {
list-style: none;
padding: 0;
}
li {
padding: 10px;
display: flex;
align-items: center;
justify-content: space-between;
border-bottom: 1px solid #ddd;
transition: background-color 0.2s ease;
}
li:last-child {
border-bottom: none;
}
li:hover {
background-color: #f9f9f9;
}
.completed {
text-decoration: line-through;
color: red;
}
.actions {
display: flex;
align-items: center;
}
.actions button {
background-color: skyblue;
margin-left: 10px;
color: #fff;
border: none;
cursor: pointer;
box-shadow: blue;
}