Tagged articles
2 articles
Page 1 of 1
Full-Stack Cultivation Path
Full-Stack Cultivation Path
Dec 3, 2024 · Frontend Development

How to Simulate a Realistic Progress Bar Using Only CSS

This article shows step‑by‑step how to create a more authentic‑looking loading bar with pure CSS by using a container element, a ::before pseudo‑element, keyframe animations, easing functions like cubic‑bezier and the new linear() function, and finally how to finish the bar instantly with CSS variables and a tiny JavaScript trigger.

AnimationLinearcss
0 likes · 8 min read
How to Simulate a Realistic Progress Bar Using Only CSS
Hujiang Technology
Hujiang Technology
Feb 23, 2017 · Frontend Development

Understanding CSS Timing Functions: cubic-bezier() and steps()

This article explains CSS timing functions, covering the theory behind transition‑timing‑function and animation‑timing‑function, the role of Bézier curves, how to craft custom cubic‑bezier() values—including out‑of‑range curves for bounce effects—and the use of steps() for discrete animations, with browser support tables and practical examples.

AnimationFrontendcubic-bezier
0 likes · 20 min read
Understanding CSS Timing Functions: cubic-bezier() and steps()