Skip to content

Instantly share code, notes, and snippets.

@heyMP
Created March 14, 2014 11:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save heyMP/9546180 to your computer and use it in GitHub Desktop.
Save heyMP/9546180 to your computer and use it in GitHub Desktop.
Equal height boxes with
.view-section-teasers {
@include view-section-teaser-colors($it-connects-color--blue, $it-connects-color--box-blue);
clear:both;
display: block;
overflow: hidden;
margin-top: 2em;
@include breakpoint($break-section-teasers--columns--right) {
padding-left: 10em;
@include main-content-padding(margin,negative, 2em);
}
.section-group {
position: relative;
clear: both;
@include breakpoint($break-section-teasers--columns--right) {
@include display-box;
@include box-orient(horizontal);
@include box-align(stretch);
display: flex;
}
}
.section-category {
clear: both;
@include breakpoint($break-section-teasers--columns--right) {
position: absolute;
top: 2.5em;
left: -10em;
width: 7em;
}
}
.section-teasertaxonomy-term {
@include breakpoint($break-section-teasers--columns--right) {
margin: .5em;
width: 45%;
float: left;
}
}
}
@heyMP
Copy link
Author

heyMP commented Mar 14, 2014

Using 'display:flex;' to progressively account for Firefox.

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