-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
63 lines (61 loc) · 975 Bytes
/
style.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
* {
box-sizing: border-box;
}
body {
margin: 0;
font-size: 1.2rem;
}
header {
background-color: mediumorchid;
color: white;
height: 100px;
padding: 2rem 1rem;
text-align: center;
}
h1 {
font-family: Arial, Helvetica, sans-serif;
margin: 0;
}
form {
width: 500px;
margin: 2rem auto;
display: flex;
flex-direction: column;
gap: 1rem;
}
form input, form select {
padding: 0.5rem 1rem;
border: 1px solid #999;
}
input[type="text"] {
width: 100%;
}
form > button {
cursor: pointer;
background-color: mediumorchid;
color: white;
border: none;
padding: 0.5rem 0.8rem;
}
form > button:hover {
background-color: violet;
}
ul {
list-style: none;
width: 500px;
margin: 2rem auto;
padding: 0;
}
.todo-item {
display: flex;
gap: 1rem;
padding: 0.5rem 0;
}
.close {
color: red;
cursor: pointer;
font-weight: bolder;
}
.close:hover {
color:tomato
}