Skip to content

Commit

Permalink
Use @media
Browse files Browse the repository at this point in the history
  • Loading branch information
Muhaddil committed May 3, 2024
1 parent 85dbfe7 commit e0bac33
Showing 1 changed file with 20 additions and 3 deletions.
23 changes: 20 additions & 3 deletions styles/generator.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,32 @@ body {
height: 100vh;
margin: 0;
}

.glyph {
font-family: 'NMS-Glyphs', sans-serif;
font-size: 3em;
}

button {
width: auto;
padding: 10px 20px;
@media (max-width: 300px) {
.glyph {
font-size: 1.5em;
}
}


/* Estilo para pantallas grandes */
button, select {
width: auto;
padding: 10px 20px;
}

/* Estilo para pantallas pequeñas */
@media (max-width: 300px) {
button, select {
padding: 20px 40px;
}
}

select {
width: auto;
padding: 10px 20px;
Expand Down

0 comments on commit e0bac33

Please sign in to comment.