Skip to content

Instantly share code, notes, and snippets.

@NickDeckerDevs
Created September 22, 2017 21:11
Show Gist options
  • Select an option

  • Save NickDeckerDevs/61e0c9da1d39a7b4ace2333b8fa82bc7 to your computer and use it in GitHub Desktop.

Select an option

Save NickDeckerDevs/61e0c9da1d39a7b4ace2333b8fa82bc7 to your computer and use it in GitHub Desktop.
flex box shit
.flex-wrapper {
display: -ms-flexbox;
display: flex;
display: -webkit-flexbox;
display: -webkit-flex;
-ms-flex-pack: center;
justify-content: center;
flex-direction: row;
// padding: 0;
@media#{$phone}{
flex-direction: column;
}
.flex-content {
-ms-flex: 1;
flex: 1;
padding: 0 10px;
min-height: inherit;
height: inherit;
@media#{$phone}{
display:block;
overflow:hidden;
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment