Calculator part 1

This commit is contained in:
Marius Cerchez
2026-02-26 09:05:55 +02:00
parent eda5b94d6c
commit 9148676625
2 changed files with 77 additions and 0 deletions

35
calculator/style.css Normal file
View File

@@ -0,0 +1,35 @@
body {
font-family: "Roboto Mono", monospace;
font-optical-sizing: auto;
font-weight: 400;
font-style: normal;
display: flex;
align-items: center;
justify-content: center;
height: 100vh;
}
.calculator {
display: grid;
grid-template-columns: 1fr 1fr 1fr 1fr;
}
.display {
grid-column: 1 / 5;
height: 50px;
width: 200px;
}
button {
height: 50px;
}
.clear {
grid-column: 1 / 3;
}
.zero {
grid-column: 1 / 4;
}