Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

render one canvas over another

<canvas id="canvas" width="490px" height="220px" style="z-index:1;">
                Sorry, your browser doesn't support canvas technology.
            </canvas>
    <canvas id="canvas2" width="490px" height="220px" style="z-index:2;margin-top:-220px;" >
            </canvas>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #render #canvas
ADD COMMENT
Topic
Name
7+3 =