- From: Jihye Hong via GitHub <sysbot+gh@w3.org>
- Date: Fri, 26 Aug 2016 06:56:39 +0000
- To: public-css-archive@w3.org
jihyerish has just created a new issue for
https://github.com/w3c/csswg-drafts:
== [css-round-display][motion-path] Apply offset-path to specify the
shape of progress element ==
There are various shapes of progress bar used in the smart watch and
the car dash board. [1]
To implement those kinds of progress bar, generally there are 2 ways.
- Using SVG elements
- eg) https://css-tricks.com/svg-line-animation-works/
- Using border-radius
- eg) http://codepen.io/cliffpyles/pen/xbsiC
But those ways have poor performance to be applied in the smart watch
and cause complicated and lots of code lines.
SO, I have an idea about specifying the shape of the progress bar
using offset-path.
For example, for the circular progress bar [2], it could be specified
by
> **HTML**:
< progress value=“30" max=“100" >
> **CSS**:
progress {
offset-path: circle(100px);
/* circle of radius 100px */
}
Would it be possible to do?
[1]

[2]

Please view or discuss this issue at
https://github.com/w3c/csswg-drafts/issues/429 using your GitHub
account
Received on Friday, 26 August 2016 06:56:47 UTC