I'm attempting to vertically align text that has been rotated by -90deg and not having much luck. Code below
HTML:
<section class="page_block" style="background: <?php echo $background; ?>;">
<div class="row">
<div class="col-md-1">
<div id="header">
<h1 class="verticaltext">
<?php echo $page->post_title; ?>
</h1>
</div>
</div>
<div class="col-md-11">
<p><?php echo $page->post_content; ?></p>
</div>
</div>
</section>
CSS:
.page_block {
margin:0px;
padding:10px;
}
#header {
position: relative;
}
.verticaltext {
transform: rotate(-90deg);
transform-origin: right, top;
-ms-transform: rotate(-90deg);
-ms-transform-origin:right, top;
-webkit-transform: rotate(-90deg);
-webkit-transform-origin:right, top;
position: absolute; bottom: 0%; left: 0%;
color: #ed217c;
}
The result is like. This is a Wordpress theme, with Twitter Bootstrap implemented as well as a full width slider. I have confirmed that both Bootstrap and the Slider do not contain conflicting CSS.
