snipt

Ctrl+h for KB shortcuts

Text only

CSS Triangle Firefox issue

Firefox can sometimes generate a weird gradient on CSS triangles.
Replace the border-style inset by outset and you're good to go
https://snipt.net/embed/81b2b4b6a8d4440f42cd7768098b1dfe/
/raw/81b2b4b6a8d4440f42cd7768098b1dfe/
81b2b4b6a8d4440f42cd7768098b1dfe
text
Text only
2
2016-12-11T07:50:01
True
False
True
Dec 07, 2013 at 07:19 AM
/api/public/snipt/99096/
css-triangle-firefox-issue
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a> <a href="#L-2">2</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a>Firefox can sometimes generate a weird gradient on CSS triangles. </span><span id="L-2"><a name="L-2"></a>Replace the border-style inset by outset and you&#39;re good to go </span></pre></div> </td></tr></table>
border, css, triangle