.dot-grid { position: relative; width: 100%; height: 100%; background-image: radial-gradient(rgba(128, 128, 128, 0.4) 1px, transparent 1px); background-size: 12px 12px; /* Adjust spacing between dots */ background-repeat: repeat; overflow: hidden; }