3dtransforms
3dtransforms copied to clipboard
Responsive Example with CSS Variables
Hi! I stumbled over this blog while trying to figure out how all this 3d transformation stuff in CSS works. Since this box didn't meet my requirements I tried to figure out how to change the different scale factors. After figuring it out I created a CodePen where you can change the main three variables (height, width, depth) to dynamically change the dimensions of the Box. I thought, since I stumbled over this, maybe it can be of help for somebody else out there!
https://codepen.io/3m7ecc/pen/JjwQqKB