Last active
October 4, 2018 10:42
-
-
Save LeaVerou/a4b43805281a9e7ebffca88ccd451aa5 to your computer and use it in GitHub Desktop.
Scissors on dotted border, ask asked by Sabine Melnicki on Twitter
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
/** | |
* Scissors on dotted border, ask asked by Sabine Melnicki on Twitter | |
*/ | |
div { | |
width: 300px; | |
height: 200px; | |
border: .1em dotted; | |
margin: 2em auto; | |
position: relative; | |
line-height: 1.2; | |
} | |
div::before { | |
content: "✂"; | |
position: absolute; | |
top: -.55em; | |
left: 40%; | |
font: 200%/1 Arial, sans-serif; | |
text-shadow: .3em 0 white, -.3em 0 white; | |
} |
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></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":"","page":"css"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment