Quantcast
Channel: How to strike through obliquely with css showing the text on top of the strike through - Stack Overflow
Browsing latest articles
Browse All 3 View Live

Answer by Stephan for How to strike through obliquely with css showing the...

To move something behind the other you need to give it a z-index that is lower than the other element, in this case I gave the strike a z-index of -1http://jsfiddle.net/p2F7G/1/.strikethrough {...

View Article



Answer by bjb568 for How to strike through obliquely with css showing the...

You can give the strikethru a lower z-index than the text. I highlighted the text red so it can be seen:.strikethrough { position: relative; color: #f00;}.strikethrough:before { position: absolute;...

View Article

How to strike through obliquely with css showing the text on top of the...

I've just run into a very nice answer here about "How to strike through obliquely with css". The solution is nice, but I wonder if it is possible to pimp the CSS snippet there to show the text on top...

View Article
Browsing latest articles
Browse All 3 View Live




Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>
<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596344.js" async> </script>