snipt

Ctrl+h for KB shortcuts

CSS

rotate text in all browsers

1
2
3
-webkit-transform: rotate(-90deg);
-moz-transform: rotate(-90deg);
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
https://snipt.net/embed/f86641b446fa188099c2acde3e3ebeb5/
/raw/f86641b446fa188099c2acde3e3ebeb5/
f86641b446fa188099c2acde3e3ebeb5
css
CSS
3
2019-07-21T04:49:23
True
False
False
/api/public/snipt/7319/
rotate-text-in-all-browsers
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a> <a href="#L-2">2</a> <a href="#L-3">3</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a><span class="nt">-webkit-transform</span><span class="o">:</span> <span class="nt">rotate</span><span class="o">(</span><span class="nt">-90deg</span><span class="o">);</span> </span><span id="L-2"><a name="L-2"></a><span class="nt">-moz-transform</span><span class="o">:</span> <span class="nt">rotate</span><span class="o">(</span><span class="nt">-90deg</span><span class="o">);</span> </span><span id="L-3"><a name="L-3"></a><span class="nt">filter</span><span class="o">:</span> <span class="nt">progid</span><span class="nd">:DXImageTransform</span><span class="nc">.Microsoft.BasicImage</span><span class="o">(</span><span class="nt">rotation</span><span class="o">=</span><span class="nt">3</span><span class="o">);</span> </span></pre></div> </td></tr></table>
css, rotate, text