Answer the question
In order to leave comments, you need to log in
Text at an angle (not css-transform)?
There is a need to write the text at an angle. Image attached.
I know that this can be done. If someone came across, please share the solution.
Thanks in advance!
Answer the question
In order to leave comments, you need to log in
The above are bad decisions. A paragraph of any text can be curved with any arc using a bunch of small floats on the left and right.
<p>Lorem ipsum</p>
<p>Lorem ipsum</p>
<p>Lorem ipsum</p>
var list = $('p');
var shift = 20;
var margin = list.length * shift;
list.each(function()
{
this.style.marginLeft = margin + 'px';
margin -= shift;
});
or without javascript
DIV DIV {
margin-left:20px;
}
<div>
<div>
<div>
Lorem ipsum
</div>
Lorem ipsum
</div>
Lorem ipsum
</div>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question