如何将画布重叠在图片上的桌子上?黄色部分是画布,我要在其中插入“乘法”和“等于”之类的图像。
<canvas id="canvasminus" class="wrapper"></canvas>
<table id="table" align="center" class="wrapper">
<tr>
<th></th>
<th></th>
<th></th>
</tr>
</table>
canvasminus{
z-index:1;
margin:auto;
}
#table {
z-index: 0;
}
.wrapper
{
position:relative;
}