Turn Text on Its Side Using CSS

Post

I just stumbled onto a neat little trick. I don't know how I haven't seen this before. Apparently you can rotate text using CSS. It is a little hacky, but still cool. With just a couple lines of code you can have you text going every which way.

For Firefox:

-webkit-transform: rotate(-90deg);
-moz-transform: rotate(-90deg);	

For IE:

filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);

Comments

Leave a comment

November 2026
Sun
Mon
Tue
Wed
Thu
Fri
Sat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Share