css - Jagged edged border issue in Firefox -


i've created simple css play button using borders, can see here, using css

.btn-play {      border-left:50px solid black;     border-top:40px solid transparent;     border-bottom:40px solid transparent; } 

see also: http://jsfiddle.net/o0exn7ll/

this looks fine in chrome , ie, in firefox edges jagged. i've seen other issues containing jagged edges in firefox using 3d transforms, solved adding transparent outline, that's not solution case.

does know if there's way these edges more smooth in firefox?

thanks!

you can use border-style: inset;

css

.btn-play {    border-left:50px inset black;   border-top:40px inset rgba(255, 255, 255, 0);   border-bottom:40px inset rgba(255, 255, 255, 0); } 

demo here


Comments

Popular posts from this blog

javascript - Chart.js (Radar Chart) different scaleLineColor for each scaleLine -

apache - Error with PHP mail(): Multiple or malformed newlines found in additional_header -

java - Android – MapFragment overlay button shadow, just like MyLocation button -