Created
June 5, 2021 13:44
-
-
Save eddiesigner/e76d058cd3c0a60faf99c27c5f9449bc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<style> | |
@media only screen and (min-width: 48rem) { | |
.m-featured-slider .swiper-container { | |
padding-bottom: 50px; | |
} | |
.m-featured-slide__picture { | |
display: flex; | |
justify-content: flex-end; | |
border-radius: 0; | |
overflow: visible; | |
background-color: transparent; | |
} | |
.m-featured-slide__picture a { | |
width: 325px; | |
height: 325px; | |
background-color: var(--primary-subtle-color); | |
} | |
.m-featured-slide__picture div { | |
border-radius: 0; | |
width: 325px; | |
height: 325px; | |
bottom: -25px; | |
left: -25px; | |
} | |
} | |
@media only screen and (min-width: 64rem) { | |
.m-featured-slide__picture { | |
width: 500px; | |
height: 500px; | |
} | |
.m-featured-slide__picture a { | |
width: 450px; | |
height: 450px; | |
} | |
.m-featured-slide__picture div { | |
width: 450px; | |
height: 450px; | |
bottom: -50px; | |
left: -50px; | |
} | |
} | |
</style> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment