html vertical text in table cell

Solutions on MaxInterview for html vertical text in table cell by the best coders in the world

showing results for - "html vertical text in table cell"
Irene
06 Jan 2019
1.verticalTableHeader {
2    text-align:center;
3    white-space:nowrap;
4    transform-origin:50% 50%;
5    transform: rotate(90deg);
6
7}
8.verticalTableHeader:before {
9    content:'';
10    padding-top:110%;/* takes width as reference, + 10% for faking some extra padding */
11    display:inline-block;
12    vertical-align:middle;
13}