Skip to content

Instantly share code, notes, and snippets.

@lallmon
Created April 19, 2017 19:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lallmon/bd163c4e2bb6a81aa339e79bfe2bd789 to your computer and use it in GitHub Desktop.
Save lallmon/bd163c4e2bb6a81aa339e79bfe2bd789 to your computer and use it in GitHub Desktop.
Wireframe Class for CSS
.wire {
background:
linear-gradient(to top left,
rgba(0,0,0,0.1) 0%,
rgba(0,0,0,0.05) calc(50% - 0.8px),
rgba(0,0,0,0.8) 50%,
rgba(0,0,0,0.05) calc(50% + 0.8px),
rgba(0,0,0,0.05) 100%),
linear-gradient(to top right,
rgba(0,0,0,0.05) 0%,
rgba(0,0,0,0.05) calc(50% - 0.8px),
rgba(0,0,0,0.8) 50%,
rgba(0,0,0,0.05) calc(50% + 0.8px),
rgba(0,0,0,0.05) 100%);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment