The Easiest Way to Create Vertical Text with CSS | Nettuts
The easiest way to create vertical text is to use ems in addition with a space between the letters of the word that should be displayed verticaly
Copy this code and paste it in your HTML
<!DOCTYPE html>
h1 {
width: 1em;
font-size: 40px;
letter-spacing: 40px; /* arbitrary large letter-spacing for safety */
}
URL: http://net.tutsplus.com/tutorials/html-css-techniques/the-easiest-way-to-create-vertical-text-with-css/
Report this snippet
Comments
Subscribe to comments