Forum Moderators: not2easy
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>CSS rotation test</title>
<style>
body {
background-color:rgb(241,241,241);
}
#text {
position:relative;
width:50px;
height:170px;
border:1px solid rgba(0,0,0,0.5);
border-radius:7px;
margin:20px auto;
background-color:rgb(255,255,255);
box-shadow:inset 0 0 10px rgba(0,0,0,0.6),
0 0 10px rgba(0,0,0,0.6);
}
#text span {
position:absolute;
width:170px;
line-height:50px;
left:0;
top:100%;
transform:rotate(-90deg);
-webkit-transform:rotate(-90deg);
transform-origin:0 0;
-webkit-transform-origin:0 0;
text-align:center;
color:rgb(48,48,48);
}
</style>
</head>
<body>
<div id="text">
<span>Lorem ipsum</span>
</div>
</body>
</html>