Skip to content

Responsive Example with CSS Variables #35

@danielwillms

Description

@danielwillms

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions