Skip to content

Instantly share code, notes, and snippets.

@paulhhowells
Last active August 22, 2016 16:37
Show Gist options
  • Save paulhhowells/41dd007812b65cb99f601a614ad47e36 to your computer and use it in GitHub Desktop.
Save paulhhowells/41dd007812b65cb99f601a614ad47e36 to your computer and use it in GitHub Desktop.
.adjust {
*zoom: 1;
}
.adjust:before,
.adjust:after {
content: " ";
display: table;
visibility: hidden;
}
.adjust:after {
clear: both;
}
.adjust__fix {
float: left;
}
.adjust__fix--10 {
/* Rather than include this example class, it’s expected a sibling class would determine width. */
width: 10em;
}
.adjust__fix--right,
.adjust__fix.right {
float: right;
}
.adjust__flex {
/* Flex. */
overflow: hidden;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment