Using HTML Canvas for UI elements?

Posted by Tower on Stack Overflow See other posts from Stack Overflow or by Tower
Published on 2010-03-23T15:52:27Z Indexed on 2010/03/27 17:23 UTC
Read the original article Hit count: 222

Filed under:
|
|
|
|

Hi,

I have a couple of UI elements such as buttons in my web application. I was going to use CSS3's transitions to animate the transition from one background-image to another. I figured out that it's not possible with the current transitions draft at least. So, I was wondering if it would make sense to use Canvas as the button. I'm sure it can handle events, so, I see no problems here. Are there any?

© Stack Overflow or respective owner

Related posts about html

Related posts about canvas