Created
March 14, 2014 11:40
-
-
Save heyMP/9546180 to your computer and use it in GitHub Desktop.
Equal height boxes with
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.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; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Using 'display:flex;' to progressively account for Firefox.