// 13 examples

CSS Feedback Examples

Feedback is how an interface says what just happened, or what is happening right now. Spinners, progress bars, toast notifications, alert banners, skeleton placeholders, and confirmation states all belong here, and none of them need JavaScript to move.

Most run on animation rather than stored state: a keyframe starts on load, on hover, or the moment a checkbox flips. The ones that have to be dismissed use :target or a checkbox, so the dismissal sticks. Several of these pages are candid about the limit involved, since a progress bar with no script is choreography rather than measurement.

Examples
Pure CSS
Feedback Advanced
Animated Number Counter
Numbers that count up using @property, CSS counters, and animations.
Password expires in 7 days.
Profile updated successfully.
You have unsaved changes.
Connection failed.
Feedback Beginner
Alert Banners
Info, success, warning, and error alert variants styled with CSS custom properties.