Last active
August 9, 2017 11:45
-
-
Save jinze/aaf7de3186008fd51289fe600f12d2b5 to your computer and use it in GitHub Desktop.
Untitled
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.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; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="wrapper">Hello world!</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// alert('Hello world!'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"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