Skip to content

Instantly share code, notes, and snippets.

@LeaVerou
Created December 11, 2011 01:59
Checkerboard pattern
/**
* Checkerboard pattern
* (a bit buggy in Webkit, see bug #54615)
*/
background-color: white;
background-image: linear-gradient(45deg, black 25%, transparent 25%, transparent 75%, black 75%, black),
linear-gradient(45deg, black 25%, transparent 25%, transparent 75%, black 75%, black);
background-size:100px 100px;
background-position: 0 0, 50px 50px;
{"page":"css","view":"split"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment