Skip to content

Instantly share code, notes, and snippets.

@LeaVerou
Created December 11, 2011 01:59
Show Gist options
  • Save LeaVerou/1457677 to your computer and use it in GitHub Desktop.
Save LeaVerou/1457677 to your computer and use it in GitHub Desktop.
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