Matt C.
Well-known member
I'm trying to skew the buttons, but keep the text inside normal.
I'm using this:
This should work, but it isn't.
If anyone has any ideas, thank you.
Edit: You have to apply
I'm using this:
Code:
.button
{
-webkit-transform: skew(-0.25rad);
-ms-transform: skew(-0.25rad);
transform: skew(-0.25rad);
-webkit-transform: skew(-0.25rad) perspective(1px) translate3d(0, 0, 0);
transform: skew(-0.25rad) perspective(1px) translate3d(0, 0, 0);
.button-text
{
-webkit-transform: skew(0.25rad);
-ms-transform: skew(0.25rad);
transform: skew(0.25rad);
}
}
This should work, but it isn't.
If anyone has any ideas, thank you.
Edit: You have to apply
display: inline-block
to the .button-text.
Last edited: