Skip to content

Commit

Permalink
Media queries
Browse files Browse the repository at this point in the history
  • Loading branch information
sureshsarda authored Apr 18, 2024
1 parent 56019f1 commit 5b66afc
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion mobile.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,20 @@

}

@media (width <= 850px) {
.l2 {
background-image: url('./assets/elements-90.png');
}
}

@media (width > 850px) {
.l2 {
background-image: url('./assets/elements.png');
}
}


.l2 {
background-image: url('./assets/elements.png');
width: 100vw;
}

Expand Down

0 comments on commit 5b66afc

Please sign in to comment.