body { background-image: linear-gradient(0deg, #aaa 0, transparent 1px, transparent 10px), linear-gradient(90deg, #aaa 0, transparent 1px, transparent 10px); background-repeat: repeat; background-size: 10px 10px; }