Skip to content

Commit

Permalink
add aspect ratio to screen array
Browse files Browse the repository at this point in the history
  • Loading branch information
skysarwer committed Sep 13, 2023
1 parent 1e0ac01 commit 6a33e24
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion sass/patterns/_screen-array.scss
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@

.desktop {
width: 100%;

aspect-ratio: 1 / 0.45;
}

.tablet, .ipad {
Expand All @@ -70,6 +70,7 @@
margin-top: -6em;
z-index: 2;
margin-left: 4em;
aspect-ratio: 1 / 1.33;
}

.mobile, .iphone {
Expand All @@ -79,5 +80,6 @@
position: absolute;
right: 22%;
bottom: 5em;
aspect-ratio: 1 / 1.75;
}
}

0 comments on commit 6a33e24

Please sign in to comment.