Quantcast
Channel: CSS strikethrough different color from text? - Stack Overflow
Viewing all articles
Browse latest Browse all 17

Answer by anoldermark for CSS strikethrough different color from text?

$
0
0

Blazemonger's reply (above or below) needs voting up - but I don't have enough points.

I wanted to add a grey bar across some 20px wide CSS round buttons to indicate "not available" and tweaked Blazemonger's css:

.round_btn:after {    content:"";    /* required property */    position: absolute;    top: 6px;    left: -1px;    border-top: 6px solid rgba(170,170,170,0.65);    height: 6px;    width: 19px;}

Viewing all articles
Browse latest Browse all 17

Trending Articles