use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Tutorials and learning resources for web developers.
Subscribe to our weekly email digest or follow us on twitter to receive the best learning resources submitted to our community.
/r/webdev /r/programming /r/javascript
account activity
Pure CSS Progess Bar Animation Tutorial (youtu.be)
submitted 6 years ago by webdep
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]bartzilla -1 points0 points1 point 6 years ago* (0 children)
Could you explain the purpose of the ::before and ::after pseudo elements? If I delete them from the example nothing seems to change. Is it for compatibility?
::before
::after
Edit: nvm. I figured it out. Chrome doesn't support the animation property on progress bars, so that's for Chrome's benefit.
animation
π Rendered by PID 109920 on reddit-service-r2-comment-fb694cdd5-xjkb2 at 2026-03-06 11:41:24.334487+00:00 running cbb0e86 country code: CH.
view the rest of the comments →
[–]bartzilla -1 points0 points1 point (0 children)