GODRICH
#css-animation#button#loader#transition#scroll#dashboard#ui#design-trends

05Form element font inheritance — a rule that matches buttons and inputs to surrounding text

The separate font family and size that browsers assign to buttons and inputs by default are cleared, so they inherit the exact same typeface, size, and color as the surrounding paragraph.

Best forA custom-designed form, a dark-mode-aware input field

font-family: inheritfont-weight: inheritfont-size: inherit
Form element font inheritance — a rule that matches buttons and inputs to surrounding text
Open in a new tab

05 Form element font inheritance — a rule that matches buttons and inputs to surrounding text — Measured area 13.463% · moving frames 22/23Original by GODRICH · SCSS and React ship in the zip · CSS Reset: 9 Patterns From Basics to Safe-Area

The post this demo lives in

CSS Reset: 9 Patterns From Basics to Safe-Area - preview of all 9 demosCSS Reset: 9 Patterns From Basics to Safe-AreaNine css reset patterns: one recalculates padding for the safe area, one shrinks transition duration near zero when moti See all demos in this post

If you like this effect - similar demos