• 2019-11-24

    The perfect button

    Comments

    Start a discussion

    There is no such thing as a perfect button. Still I gave it a shot.

    Features

    • The top/bottom padding is the font size * 0.5.
    • The left/right padding is the font size * 2.
    • If you change font-size in the :root, the button size changes.

    Source

    You saw it first on CSSPoo.