Created
October 30, 2012 12:45
-
-
Save thingsinjars/3979985 to your computer and use it in GitHub Desktop.
Strikethrough
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
/* | |
* Strikethrough | |
*/ | |
del { | |
text-decoration:none; | |
position:relative; | |
} | |
del::after { | |
position:absolute; | |
content:" "; | |
margin: 0 -3px; | |
padding: 0 3px; | |
width: 100%; | |
height:100%; | |
top:0; | |
left:0; | |
background:linear-gradient(170deg, transparent 45%, red 45%, red 55%, transparent 55%); | |
} |
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
<!-- content to be placed inside <body>…</body> --> | |
<p>It was a <del>bright</del> dull cold day in <del>April</del> October. |
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