html, body { margin: 0; padding: 0; overflow: hidden; } .dhide { display: none !important; } .canvas { cursor: crosshair; position: absolute; top: 0; left: 0; } .canvas.moving { cursor: move; } .cursor { display: none; position: absolute; background: white; border-radius: 50%; box-sizing: border-box; border: 1px solid black; z-index: 10; pointer-events: none; } #canvas0 { z-index: 0; } #canvas1 { z-index: 1; pointer-events: none; opacity: 0.3; }