Can you layer pictures on top of each other on a webpage?

后端 未结 7 1964
再見小時候
再見小時候 2020-12-23 23:34

I want to build a website that is a \"dress up\" game where you can click on different accessories and they will layer on top of each other.

Because it\'s a little d

相关标签:
7条回答
  • 2020-12-24 00:12

    I would look into using the <canvas> tag and API's.

    It allows you to absolutely position items and images easily, also, if you are using a new browser, you will get the benefit of hardware acceleration, which will speed the whole thing up.

    For backwards compatability in IE, you will need to use Google's Explorer Canvas javascript plugin.

    0 讨论(0)
提交回复
热议问题