Skip to content

Commit

Permalink
diseño responsivo agregado
Browse files Browse the repository at this point in the history
  • Loading branch information
BMartinezS committed Apr 14, 2024
1 parent 79c5f35 commit 5c3336d
Showing 1 changed file with 38 additions and 2 deletions.
40 changes: 38 additions & 2 deletions assets/css/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -130,5 +130,41 @@ body {
// CUSTOM COMMON STYLES

.img-width-carousel {
width: 50%;
}
width: 60%; /* Default width for screens larger than 1200px */
}

/* For very small screens (less than 480px) */
@media only screen and (max-width: 479px) {
.img-width-carousel {
width: 100%;
}
}

/* For small screens */
@media only screen and (min-width: 480px) and (max-width: 767px) {
.img-width-carousel {
width: 100%;
}
}

/* For tablets */
@media only screen and (min-width: 768px) and (max-width: 979px) {
.img-width-carousel {
width: 80%;
}
}

/* For small desktops */
@media only screen and (min-width: 980px) and (max-width: 1199px) {
.img-width-carousel {
width: 70%;
}
}

/* For large desktops */
@media only screen and (min-width: 1200px) {
.img-width-carousel {
width: 60%;
}
}

0 comments on commit 5c3336d

Please sign in to comment.