The CSS code isn't confined to a namespace, which could be a problem. For example, I might want to use .rounded for a global CSS style rather than it refering to only progress bars.
I made progress bars using only CSS3. You can use them for free.
11–20 of 34 posts
Re: I made progress bars using only CSS3. You can use them for free.
#12Not sure how you'd make the progress bars move without some Javascript.
If it needed to be a progress bar to show progress of something happening on the page, then javascript would be needed.
Re: I made progress bars using only CSS3. You can use them for free.
#13Re: I made progress bars using only CSS3. You can use them for free.
#14A long time ago I thought it would be cool to use CSS as a light-weight drawing framework for things like this. But my local web standards expert told me that CSS is only supposed to be presentation, not content. Is this a legitimate concern, and a reason to avoid this approach?
I guess for usability there should be text inside or underneath saying the % progress? (In which case it'd still be XHTML for content and CSS for presentation)
Re: I made progress bars using only CSS3. You can use them for free.
#15I'm not sure how these are innovative at all as it's just three Div's and some CSS. Yes it does use CSS gradients and box shadows to look a little nicer but this is realy something that can be whipped up in a few lines of CSS. Does it realy warrant a GitHub project? It would be better as a tutorial showing others how to make it from scratch.
Re: I made progress bars using only CSS3. You can use them for free.
#16Also note that there exists a HTML5 element: http://www.whatwg.org/specs/web-apps/current-work/#the-progr...
Re: I made progress bars using only CSS3. You can use them for free.
#17Also note that there exists a HTML5 element: http://www.whatwg.org/specs/web-apps/current-work/#the-progr...
The same thought occured to me. Is it possible to style the new elements?
I think Webkit has a similar approach, although I don't know if it provides as much freedom in styling as the -moz-version.
Re: I made progress bars using only CSS3. You can use them for free.
#18Re: I made progress bars using only CSS3. You can use them for free.
#19Not sure how you'd make the progress bars move without some Javascript.
(See: https://developer.mozilla.org/en/CSS/animation for further information)