April 22, 2012
Reset angle of text in skewed div using CSS
Question by benhowdle89
I have made a fiddle:
I’m trying to maintain the skewed div but keep the p text straight.
Is this possible?
Thanks
Answer by Alexander Pavlov
You should use 20deg
instead of 0deg
on P to compensate for the DIV transform (since the result is the composition of transforms.)