Home/Explore/

Statistic

CSS Layout - Most popular layouts and patterns that can be built with CSS | Product Hunt Embed
7,529
stars
<div style="
    /* Center the content */
    align-items: center;
    display: inline-flex;
    flex-direction: column;
">
    <!-- Value -->
    <div style="
        /* Big font size */
        font-size: 4rem;
        font-weight: 500;
    ">
        ...
    </div>

    <!-- Label -->
    <div style="
        /* Smaller font size */
        font-size: 1rem;
        font-weight: 700;

        /* Uppercase the label */
        text-transform: uppercase;
    ">
        ...
    </div>
</div>
Subscribe to the newsletter for the latest layouts or patterns. No spam. Ever!