Created
November 17, 2018 00:22
-
-
Save diggeddy/dfc63525ea31cba56bbb4d07d6fb8522 to your computer and use it in GitHub Desktop.
Force same height on all pricing tables in a row and push footer to bottom
This file contains hidden or 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
.elementor-widget-price-table, .elementor-widget-price-table>div, .elementor-price-table { | |
height: 100%; | |
} | |
.elementor-price-table { | |
display: -webkit-box; | |
display: -ms-flexbox; | |
display: flex; | |
-webkit-box-orient: vertical; | |
-webkit-box-direction: normal; | |
-ms-flex-direction: column; | |
flex-direction: column; | |
} | |
.elementor-price-table__footer { | |
margin-top: auto; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks for the code, but for some reason it doesn't seem to work for me. Is it because I am using containers? The code causes the table to jump to 100% of viewport height.