Created
June 26, 2012 21:00
-
-
Save jcsrb/2998978 to your computer and use it in GitHub Desktop.
The first commented line is your dabblet’s title
This file contains hidden or 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
/** | |
* The first commented line is your dabblet’s title | |
*/ | |
div{ | |
margin: 100px auto; | |
height: 300px; | |
width: 300px; | |
background: red; | |
padding: 5px; | |
background-clip: content-box; | |
border: 1px solid blue; | |
border-width: 50px; | |
border-image: linear-gradient(45deg, black 25%, transparent 25%, transparent 75%, black 75%, black); | |
border-image-slice: 50; | |
border-image-repeat: repeat; | |
transition: border-image-slice 1s ease-in-out; | |
} | |
div:hover{ | |
border-image-slice: 5 | |
} | |
This file contains hidden or 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></div><!-- content to be placed inside <body>…</body> --> |
This file contains hidden or 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