-1

I'm trying to do it using this:

.VerticalText {   
transform: rotate(-90deg); 
}

but it's rotating the text and cell. How do I just rotate the text vertically inside the cell?

Hugues M.
  • 19,846
  • 6
  • 37
  • 65
Emma S
  • 3
  • 5
  • Wrap text in `` element and rotate it. The final example would be `.VerticalText span { transform: rotate(-90deg); }` – Morpheus Jul 04 '17 at 12:36

1 Answers1

0

You should make a div what is outside the text, and rotate that the other way.

So: If

.VerticalText {  
    transform: rotate(-90deg); 
}

and the div outside is called for example .VerticalTextWrapper

.VerticalTextWrapper {
    transform: rotate(90deg);
}

Hope that helps!