Skip to content

Commit

Permalink
Added padding and made responsive
Browse files Browse the repository at this point in the history
  • Loading branch information
Archi-shaw committed Jan 7, 2025
1 parent eeb0e5c commit 291136f
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions counter.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@

}
.countitem {
width: 28vmin;
height: 28vmin;
width: 36vmin;
height: 32vmin;
display: flex;
flex-direction: column;
justify-content: space-around;
Expand Down Expand Up @@ -53,21 +53,21 @@
width: 85vw;
}
.countitem{
height: 26vmin;
width: 26vmin;
font-size: 12px;
height: 36vmin;
width: 40vmin;
font-size: 8px;
}
}
@media screen and (max-width: 768px) {
.wrapper {
width: 90vw;
flex-wrap: wrap;
gap: 30px;
gap: 20px;
}
.countitem {
width: calc(50% - 40px);
height: 30vmin;
font-size: 14px;
width: calc(80% - 40px);
height: 36vmin;
font-size: 7px;
}
}
@media screen and (max-width: 480px) {
Expand All @@ -78,6 +78,6 @@
.countitem {
width: 100%;
height: 25vmin;
font-size: 8px;
font-size: 6px;
}
}

0 comments on commit 291136f

Please sign in to comment.