Rotate div text after clicking on button using jquery and css
<p>I want to rotate div text after clicking on button using jquery and css</p>

<p>If user click on <code>Rotate Left</code> button then text rotate in Left side<br />
or<br />
user click on <code>Rotate Right</code> button then text rotate in Right side</p>

<p><strong>Example:</strong></p>

<pre><code>&lt;div id="RotateDiv"&gt;Happy Birthday&lt;/div&gt;

&lt;button id="btnRotateLeft" type="button"&gt;Rotate Left&lt;/button&gt;
&lt;button id="btnRotateRight" type="button"&gt;Rotate Right&lt;/button&gt;
</code></pre>