Skip to content

Instantly share code, notes, and snippets.

@LeaVerou
Last active October 4, 2018 10:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save LeaVerou/a4b43805281a9e7ebffca88ccd451aa5 to your computer and use it in GitHub Desktop.
Save LeaVerou/a4b43805281a9e7ebffca88ccd451aa5 to your computer and use it in GitHub Desktop.
Scissors on dotted border, ask asked by Sabine Melnicki on Twitter
/**
* 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;
}
// alert('Hello world!');
{"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