Make calculator more responsive
This commit is contained in:
parent
87a27395d5
commit
97b2734e9e
1 changed files with 23 additions and 0 deletions
23
style.css
23
style.css
|
|
@ -183,3 +183,26 @@ footer a:hover, footer a:focus {
|
|||
text-decoration: none;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 600px) {
|
||||
|
||||
.calculator {
|
||||
width: 90vw;
|
||||
height: 70%;
|
||||
}
|
||||
|
||||
.main-screen {
|
||||
font-size: 45px;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
|
||||
button {
|
||||
font-size: 40px;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.equal {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue