CSS Layout - Most popular layouts and patterns that can be built with CSS | Product Hunt Embed
.home
~
.explore

Card

<div style="
    display: flex;
    flex-direction: column;
">
    <!-- Cover -->
    <div style="
        height: 150px;
        width: 100%;
    ">
        ...
    </div>

    <!-- Content -->
    <div style="
        /* Take available height */
        flex: 1;
    ">
        ...
    </div>
    ...
</div>
Subscribe to the newsletter for the latest layouts or patterns. No spam. Ever!