Första incheckningen. Protyp för PWA för att skapa todos

This commit is contained in:
2025-01-23 16:51:16 +01:00
parent 1edf21dc50
commit 47dd4c8332
6 changed files with 200 additions and 0 deletions

48
public/style.css Normal file
View File

@@ -0,0 +1,48 @@
body {
font-family: Arial, sans-serif;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
background-color: #f4f4f9;
}
.container {
width: 300px;
padding: 20px;
background-color: #fff;
border-radius: 8px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
h1 {
text-align: center;
}
input, textarea {
width: 90%;
padding: 8px;
margin-bottom: 10px;
border: 1px solid #ccc;
border-radius: 4px;
}
button {
width: 100%;
padding: 10px;
background-color: #4CAF50;
color: white;
border: none;
border-radius: 4px;
cursor: pointer;
}
button:hover {
background-color: #45a049;
}
#responseMessage {
text-align: center;
color: green;
}