Last active
March 9, 2016 11:21
-
-
Save emirotin/1416be01193abe1b2557 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
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
// ---- | |
// Sass (v3.4.21) | |
// Compass (v1.0.3) | |
// ---- | |
$unit: 1rem; | |
$phoneWindowWidth: 768; | |
$phoneMQ: "only screen and (max-width: #{$phoneWindowWidth * 1px})"; | |
.formFooter { | |
padding-top: 1 * $unit 0; | |
display: flex; | |
flex-direction: row; | |
justify-content: flex-start; | |
align-items: center; | |
@media #{$phoneMQ} { | |
flex-direction: column-reverse; | |
align-items: flex-start; | |
} | |
} | |
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
.formFooter { | |
padding-top: 1rem 0; | |
display: flex; | |
flex-direction: row; | |
justify-content: flex-start; | |
align-items: center; | |
} | |
@media only screen and (max-width: 768px) { | |
.formFooter { | |
flex-direction: column-reverse; | |
align-items: flex-start; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment