How can i make a text with html like in the screenshot below. I just need a simple text but it should be vertically.
CodePudding user response:
You might be able to use writing-mode
CSS property.
h1 {
writing-mode: sideways-lr;
}
<h1>Safari</h1>
CodePudding user response:
span{
display:inline-block;
margin-top:20px;
transform:rotate(-90deg);
}
h2{
margin-top:40px;
writing-mode: vertical-lr;
}
<span>some text</span>
<h2>more text</h2>