Skip to content

Commit

Permalink
Add styles to the div container and to the title and calculator class…
Browse files Browse the repository at this point in the history
… names to display the elements on the screen
  • Loading branch information
ClaudiaRojasSoto committed Jul 11, 2023
1 parent d96f574 commit 77fbc13
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions src/styles/calculator.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
.calculator-wrapper {
display: flex;
justify-content: space-between;
}

.calculator {
width: 400px;
background-color: rgb(240, 240, 240);
Expand All @@ -8,6 +13,10 @@
margin-top: 100px;
}

.title {
margin-top: 100px;
}

.display {
background-color: rgb(100, 56, 67);
color: rgb(255, 255, 255);
Expand Down Expand Up @@ -48,3 +57,19 @@
.button:hover {
background-color: rgb(200, 142, 167);
}

@media (max-width: 767px) {
.container {
display: flex;
flex-direction: column;
align-items: center;
}

.title {
display: none;
}

.calculator {
margin-top: 40px;
}
}

0 comments on commit 77fbc13

Please sign in to comment.