77 lines
1.2 KiB
CSS
77 lines
1.2 KiB
CSS
body {
|
|
font-family: Arial, sans-serif;
|
|
background-color: #f0f4f7;
|
|
margin: 0;
|
|
padding: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
}
|
|
|
|
h1 {
|
|
margin-top: 20px;
|
|
}
|
|
|
|
form {
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
input[type="text"] {
|
|
padding: 10px;
|
|
font-size: 16px;
|
|
border: 1px solid #ccc;
|
|
border-radius: 4px;
|
|
width: 300px;
|
|
}
|
|
|
|
button {
|
|
padding: 10px 20px;
|
|
font-size: 16px;
|
|
border: none;
|
|
border-radius: 4px;
|
|
background-color: #28a745;
|
|
color: white;
|
|
cursor: pointer;
|
|
margin-left: 10px;
|
|
}
|
|
|
|
button:hover {
|
|
background-color: #218838;
|
|
}
|
|
|
|
#todo-list {
|
|
list-style-type: none;
|
|
padding: 0;
|
|
}
|
|
|
|
#todo-list li {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 10px;
|
|
border: 1px solid #ccc;
|
|
border-radius: 4px;
|
|
background-color: white;
|
|
margin-bottom: 10px;
|
|
width: 400px;
|
|
}
|
|
|
|
#todo-list li button {
|
|
background-color: #dc3545;
|
|
margin-left: 10px;
|
|
}
|
|
|
|
#todo-list li button:hover {
|
|
background-color: #c82333;
|
|
}
|
|
|
|
#count-a-button {
|
|
margin-top: 20px;
|
|
}
|
|
|
|
#count-a-result {
|
|
margin-top: 10px;
|
|
font-weight: bold;
|
|
}
|
|
|