Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Using Flexbox for equal height columns in Digital Pro. https://sridharkatakam.com/using-flexbox-for-equal-height-columns-in-digital-pro/
@media only screen and (max-width: 860px) {
#front-page-3 .widget-area a.button {
padding: 12px 15px;
}
}
#front-page-3 .widget-area {
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex-wrap: wrap;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
}
#front-page-3 .widget-area a.button {
position: absolute;
bottom: 0;
left: 50%;
-webkit-transform: translate(-50%, 0);
-moz-transform: translate(-50%, 0);
-ms-transform: translate(-50%, 0);
-o-transform: translate(-50%, 0);
transform: translate(-50%, 0);
}
#front-page-3 .widget:nth-child(2),
#front-page-3 .widget:nth-child(3),
#front-page-3 .widget:nth-child(4) {
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
position: relative;
padding-bottom: 50px;
}
#front-page-3 .widget-area a.button.small {
padding: 12px 20px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.