Created
April 17, 2021 10:48
-
-
Save omirobarcelo/ffba6ebb32e919ca4d227e53d1fd6c5f to your computer and use it in GitHub Desktop.
WebHero - 6 - Layout responsive styling
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
.main-content { | |
@apply flex flex-col; | |
} | |
.ads { | |
@apply flex-auto; | |
min-width: 120px; | |
min-height: 100px; | |
max-width: 100%; | |
max-height: 100px; | |
} | |
main { | |
@apply flex-auto; | |
} | |
@screen sm { | |
.main-content { | |
@apply flex-row; | |
} | |
.ads { | |
max-width: 320px; | |
max-height: 100%; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment