I made a parallelogram using the CSS3 transform skew and put the text in another div that has the opposite skew value so that the text remains unformed : Example JSFiddle .
Is there a way for the text to align along the edges of the parallelogram as follows:

I am open to other suggestions, such as using canvas , if this is not possible with CSS. If there is a JavaScript method for this, then any links that may be useful will be useful.
UPDATE: After searching for some cross-browser solutions, the easiest tool I found for this was this tool .
javascript css3 canvas
Enijar
source share