Calculator part 1
This commit is contained in:
35
calculator/style.css
Normal file
35
calculator/style.css
Normal 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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user