Skip to content

Commit

Permalink
Made Age Calculator responsive (#1256)
Browse files Browse the repository at this point in the history
  • Loading branch information
m3kvt authored Jun 11, 2024
1 parent 36c6552 commit ae3589c
Showing 1 changed file with 39 additions and 1 deletion.
40 changes: 39 additions & 1 deletion Calculators/Age-Calculator/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -173,4 +173,42 @@

#close-alert:hover {
background-color: #f8d7da;
}
}

@media (max-width: 768px) {
#heading h1 {
font-size: 1.5em;
}

#onetwo button {
margin: 0 0 4px;
padding: 5px;
font-size: 0.9em;
}

#ip1,
#ip2 {
font-size: 1em;
height: 2.2vmax;
padding-left: 1.2vmax;
padding-right: 1.2vmax;
}
}

@media (max-width: 576px) {
#main {
padding: 20px;
}

#heading h1 {
font-size: 1.2em;
}

#twotwo h2 {
font-size: 1.5vmax;
}

#twoone img {
height: 25vmax;
}
}

0 comments on commit ae3589c

Please sign in to comment.