Skip to content

Commit

Permalink
cambiando css móvil
Browse files Browse the repository at this point in the history
  • Loading branch information
AxelCotonGutierrez committed Jun 21, 2023
1 parent 86b69f2 commit 2024af4
Showing 1 changed file with 8 additions and 14 deletions.
22 changes: 8 additions & 14 deletions contar123c.css
Original file line number Diff line number Diff line change
Expand Up @@ -113,23 +113,17 @@ h1 {
}

/* Nuevo código para redimensionar imágenes en dispositivos móviles */
.container {
display: flex;
flex-wrap: wrap;
justify-content: center;
align-items: center;
}

.container img {
margin: 5px;
}

@media (max-width: 768px) {
.container {
max-width: 100%; /* Ancho completo en dispositivos móviles */
.container,
.container2 {
max-width: 90%; /* Ancho completo en dispositivos móviles */
}

container img {
width: calc(30% - 10px); /* Ajusta el valor según tus necesidades */
.guess-button {
width: 50px;
height: 50px;
font-size: 25px;
margin-bottom: 10px;
}
}

0 comments on commit 2024af4

Please sign in to comment.