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

07Session expired — a notice that recomputes badge intensity from elapsed time since expiry

The time elapsed since the session dropped keeps getting recomputed, and the longer that stretch grows, the deeper the notice badge's color and the re-login button's emphasis both turn.

Best forIdle-session notices, auto-logout banners

getComputedStylegetPropertyValueclassList
Session expired — a notice that recomputes badge intensity from elapsed time since expiry
Open in a new tab

07 Session expired — a notice that recomputes badge intensity from elapsed time since expiry — Measured area 4.845% · moving frames 23/23Original by GODRICH · SCSS and React ship in the zip · 9 Login UI Design Patterns (Copy-Paste)

The post this demo lives in

9 Login UI Design Patterns (Copy-Paste) - preview of all 9 demos9 Login UI Design Patterns (Copy-Paste)Nine login and signup patterns that compute: fill ratio refills a progress ring, remaining time recounts into an arc eve See all demos in this post

If you like this effect - similar demos