Reputation: 8223
how can I change with CSS (-moz-transform) a div that should look like this:
Upvotes: 1
Views: 559
Reputation: 354416
You can take a look at the Mozilla Developer Center. There even are examples.
However, it looks to me like your specific example isn't possible (yet):
Note: At this time, the Z axis is not supported, so perspective, 3D rotation, 3D scaling, and 3D transformations are not supported. —Using CSS transforms
You can't recreate this effect with only skewing, rotation and translation in a plane. Parallel lines will always be parallel, even after the transformation.
Upvotes: 2