Skip to content

Instantly share code, notes, and snippets.

@DarinMao
Last active October 6, 2018 18:39
Show Gist options
  • Save DarinMao/52d852f93a155e26cd8e82c3796d530c to your computer and use it in GitHub Desktop.
Save DarinMao/52d852f93a155e26cd8e82c3796d530c to your computer and use it in GitHub Desktop.
Flips ion when applied
/*
Flips Ion!
Sets html height and body min-height so footer is in the right place
Margin fixes the navbar
transform: scaleX(-1) is the flipping
*/
html {
height: 100%;
}
body {
min-height: 100%;
transform: scaleX(-1);
margin: 0;
}
.main {
margin-top: 40px;
}
/*
Fix for hoco scores box making body too tall (idk why???????)
*/
#hoco-scores {
margin: 0 auto;
padding: 15px 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment