Skip to content

Instantly share code, notes, and snippets.

@spearsmarketing
Created October 1, 2013 20:53
Show Gist options
  • Save spearsmarketing/6784942 to your computer and use it in GitHub Desktop.
Save spearsmarketing/6784942 to your computer and use it in GitHub Desktop.
Genesis Column Class Clearing CSS Code
/*
Clear fix for column classes
---------------------------------------------------------------------------------------------------- */
.clear-line:after {
content: ".";
display: block;
clear: both;
visibility: hidden;
line-height: 0;
height: 0;
}
.clear-line {
display: inline-block;
width: 100%;
}
html[xmlns] .clear-line {
display: block;
}
* html .clear-line {
height: 1%;
}
@spearsmarketing
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment