penguine Posted June 13, 2008 Share Posted June 13, 2008 How can we rotate(angled) element in html page? Link to comment Share on other sites More sharing options...
Ingolme Posted June 13, 2008 Share Posted June 13, 2008 It can't be done. You'll have to use images that already look tilted if you want to achieve any effect.There's the <canvas> object, but it only works on very few browsers, and I haven't studied much of it, but I think it's similar to the graphics library in flash. Link to comment Share on other sites More sharing options...
penguine Posted June 16, 2008 Author Share Posted June 16, 2008 But, is it possible with javascript? Link to comment Share on other sites More sharing options...
Synook Posted June 16, 2008 Share Posted June 16, 2008 Along with the <canvas> element, yes. But don't expect wonderful compatibility. And you can only rotate images, not full nodes. context.rotate(angle); Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.