Home  >  Article  >  Web Front-end  >  HTML5 canvas issue_html/css_WEB-ITnose

HTML5 canvas issue_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 12:12:061078browse

Two new canvases are created. Each canvas has a picture. How to put one canvas on top of another canvas? The effect is that one picture floats on top of the other picture.


Reply to the discussion (solution)

It should be possible to set the coordinates
Reference
http://www.w3school.com.cn /html5/html_5_canvas.asp
http://www.cnblogs.com/myssh/archive/2011/11/24/2261901.html

This can’t be solved

Are you Want to set the canvas background above to be transparent? Try it to see if it meets your needs.