-
-
Save navalon/ab63f3702a2d7165a11962c562ab6535 to your computer and use it in GitHub Desktop.
Using Flexbox for equal height columns in Digital Pro. https://sridharkatakam.com/using-flexbox-for-equal-height-columns-in-digital-pro/
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
@media only screen and (max-width: 860px) { | |
#front-page-3 .widget-area a.button { | |
padding: 12px 15px; | |
} | |
} |
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
#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; | |
} |
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
#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