CSS Transform: Rotate

, , …,

something in the water

here's the HTML code:

<div class="t17362">something in the water</div>

here's the CSS:

div.t17362 {
border:solid thin red;
width: 30ex;

as of , this works in Firefox, Opera, all on Linux.

for Google Chrome and Safari, you might add this:

-webkit-transform: rotate(-5deg);



Like what you read? Please tell friends, share link, or Buy JavaScript in Depth. Thanks.
blog comments powered by Disqus