Last active
June 29, 2016 01:19
-
-
Save xiaxianlin/3f87ae95fae854191e316206d03fe782 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
.container { | |
width: 160px; | |
height: 90px; | |
margin: 100px auto; | |
background: #58a; | |
background: linear-gradient(135deg, transparent 15px, #58a 0) top left, | |
linear-gradient(-135deg, transparent 15px, #58a 0) top right, | |
linear-gradient(-45deg, transparent 15px, #58a 0) bottom right, | |
linear-gradient(45deg, transparent 15px, #58a 0) bottom left; | |
background-size: 50% 50%; | |
background-repeat: no-repeat; | |
} |
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="container"><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":"100","seethrough":"","prefixfree":"1","page":"css"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment