.graph { height: 100%; width: 100%; background: url(img/gplaypattern.png); canvas { display: block; } svg { display: block; width: 100%; height: 100%; position: absolute; top: 0; left: 0; circle, line { opacity: 0; stroke-width: 16px; cursor: pointer; } } }