Created
April 17, 2021 10:57
-
-
Save omirobarcelo/ec94f8f339089a5b50be504db8822865 to your computer and use it in GitHub Desktop.
WebHero - 6 - Create 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
.create-container { | |
@apply px-2 py-2 flex flex-col items-center; | |
} | |
form { | |
@apply w-full pt-6 pb-8 mb-4; | |
max-width: 768px; | |
} | |
.img-title-area { | |
@apply flex flex-col; | |
} | |
.img-area { | |
@apply flex-none mb-4; | |
margin-left: auto; | |
margin-right: auto; | |
} | |
.vote-area { | |
@apply w-full mt-4 mb-4; | |
margin-left: auto; | |
margin-right: auto; | |
} | |
@screen sm { | |
.create-container { | |
@apply px-4 py-6; | |
} | |
.img-title-area { | |
@apply flex-row; | |
} | |
.img-area { | |
@apply mb-0; | |
margin-left: 0; | |
margin-right: 0; | |
} | |
.vote-area { | |
@apply w-3/5 mb-0; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment