+ 1

How to rotate text in CSS?

It looks we cannot rotate text in CSS https://code.sololearn.com/W1COK72ifXRO/?ref=app Anyone knows what to do? Thanks for answering.

8th Oct 2017, 7:38 AM
Isair Calhawk
Isair Calhawk - avatar
1 Answer
+ 6
who says we can't rotate text? it's just that your CSS code works only for webkit browsers, try updating it to this #Ja{ color:blue; -webkit-transform:rotate(-10deg); transform: rotate(-10deg); }
8th Oct 2017, 7:43 AM
Nomeh Uchenna Gabriel
Nomeh Uchenna Gabriel - avatar