How to Create Vertical text using Css | Sanwebcorner

How to Create Vertical text using Css

This article shows how to create vertical text using css and html. Here i given two simple vertical text with box type and without box type. This vertical text uses somewhere in websites. and also this vertical text are two different direction. One was 270 degree rotation and 90 degree rotation.

Code for Vertical text :

<title>Vertical text using css</title>
    margin-bottom: 55px;

transform-origin: left top 0;
margin-left: 65px;
padding: 10px;
background-color: #000;
font-size: 28px;
color: #FFF;

<h1 class="vertical-text-type1">This is vertical text type1 </h1>
<div class="vertical-text-type2"> This is vertical text type2</div>