Quantcast
Channel: Active questions tagged html - Stack Overflow
Viewing all articles
Browse latest Browse all 67497

How to set min-height on the grid-template-column containers

$
0
0

i have problem if there is content in first container, then other two without content will be same height as first one: https://jsfiddle.net/tj4hbya5/2/

<style>
 .container {
   height: auto;
   min-height: 100px;
   margin: 0 auto;
   width: 90%;
   background: cyan;
   text-align: center;
 }
<style>

So, how i can set that default height will be same all three ones, but if one of them has content, then height will be auto, while other two without content stays at min-height?


Viewing all articles
Browse latest Browse all 67497

Trending Articles