pages235/src/react/Crosshair.css

12 lines
282 B
CSS

.crosshair {
z-index: -1;
width: 16px;
height: 16px;
background: var(--gui-icons);
background-size: calc(256px * var(--crosshair-scale));
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
image-rendering: pixelated;
}