4 ms·
Yep, I've also seen that. But your markup is wrong. You should use <progress> instead I am using a kde widget called adjustable-clock which uses html5/css3/jav
by X4 13y ago
Yep, I've also seen that. But your markup is wrong.
You should use <progress> instead
I am using a kde widget called adjustable-clock which uses html5/css3/javascript and qml to render my system clock.
Here's the source for the current clock I use, it uses a progressbar for the seconds: http://htmlpaste.com/7e957bb5523fa58f98b6657073c4a544942a13c3 http://htmlpaste.com/7e957bb5523fa58f98b6657073c4a544942a13c...
QML:
Clock.setRule('#hour', Clock.Hour);
Clock.setRule('#minute', Clock.Minute);
Clock.setRule('#second', 'value', Clock.Second, {'short': true});
- ynh 13y agoUse progress as html tag?
- mediumdeviation 13y agoIt's a HTML5 form element: http://developers.whatwg.org/the-button-element.html#the-progress-element http://developers.whatwg.org/the-button-element.html#the-pro.... It might be somewhat difficult to style, though.
- mistercow 13y agoSupport for the progress element is still missing from a lot of browsers, so I don't know if it's right to say that the markup is "wrong" for not using it