Skip to content

Instantly share code, notes, and snippets.

@jinze
Last active August 9, 2017 11:45
Show Gist options
  • Save jinze/aaf7de3186008fd51289fe600f12d2b5 to your computer and use it in GitHub Desktop.
Save jinze/aaf7de3186008fd51289fe600f12d2b5 to your computer and use it in GitHub Desktop.
Untitled
.wrapper{
border: 1em solid rgba(0,0,0,0);
background-image: linear-gradient(#fff, #fff),repeating-linear-gradient(-45deg, #f00 0, #f00 12.5%, transparent 0, transparent 25%, #00f 0, #00f 37.5%, transparent 0,transparent 50%);
/**/
background-clip:padding-box, border-box;
background-size:5em 5em;
width:500px;
height:300px;
box-sizing:border-box;
padding: 1em;
}
<div class="wrapper">Hello world!</div>
// alert('Hello world!');
{"view":"split","fontsize":"130","seethrough":"","prefixfree":"1","page":"css"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment