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

Toggle password visibility

<div style="
    display: flex;

    /* Border */
    border: 1px solid rgba(0, 0, 0, 0.3);
">
    <!-- Text input -->
    <input
        type="text"
        style="
            border-color: transparent;
            /* Take available width */
            flex: 1;
        "
    />

    <!-- Toggle button sticks to the right -->
    <button>
        ...
    </button>
</div>
Subscribe to the newsletter for the latest layouts or patterns. No spam. Ever!