Optimus Prime by Jhey Tompkins on CodePen
Open on CodePen ↗A 3D Optimus Prime that changes between robot and truck when you click it. A second checkbox changes how fast the change plays.
Jhey Tompkins built it with HTML and CSS, and a checkbox holds the robot or truck state, so no JavaScript is needed.
3Dinteractivetransform-style:checked
The modern.css newsletter
New CSS each month, and new things in the Atlas. 806 subscribers. Past issues
by Chris Bolson
by Jhey Tompkins
by Ben Evans