Created
August 4, 2015 15:59
-
-
Save anonymous/bb2e420f07ff327e4943 to your computer and use it in GitHub Desktop.
JS Bin // source http://jsbin.com/oqibus/1
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset=utf-8 /> | |
<title>JS Bin</title> | |
<style id="jsbin-css"> | |
.strikethrough { | |
position: relative; | |
} | |
.strikethrough:before { | |
position: absolute; | |
content: ""; | |
left: 0; | |
top: 50%; | |
right: 0; | |
border-top: 1px solid; | |
border-color: inherit; | |
-webkit-transform:rotate(-5deg); | |
-moz-transform:rotate(-5deg); | |
-ms-transform:rotate(-5deg); | |
-o-transform:rotate(-5deg); | |
transform:rotate(-5deg); | |
} | |
</style> | |
</head> | |
<body> | |
<span class="strikethrough">Deleted text</span> | |
<script id="jsbin-source-html" type="text/html"><!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset=utf-8 /> | |
<title>JS Bin</title> | |
</head> | |
<body> | |
<span class="strikethrough">Deleted text</span> | |
</body> | |
</html> | |
</script> | |
<script id="jsbin-source-css" type="text/css">.strikethrough { | |
position: relative; | |
} | |
.strikethrough:before { | |
position: absolute; | |
content: ""; | |
left: 0; | |
top: 50%; | |
right: 0; | |
border-top: 1px solid; | |
border-color: inherit; | |
-webkit-transform:rotate(-5deg); | |
-moz-transform:rotate(-5deg); | |
-ms-transform:rotate(-5deg); | |
-o-transform:rotate(-5deg); | |
transform:rotate(-5deg); | |
}</script> | |
</body> | |
</html> |
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
.strikethrough { | |
position: relative; | |
} | |
.strikethrough:before { | |
position: absolute; | |
content: ""; | |
left: 0; | |
top: 50%; | |
right: 0; | |
border-top: 1px solid; | |
border-color: inherit; | |
-webkit-transform:rotate(-5deg); | |
-moz-transform:rotate(-5deg); | |
-ms-transform:rotate(-5deg); | |
-o-transform:rotate(-5deg); | |
transform:rotate(-5deg); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment