Help with CSS trick please!

Help with CSS trick please!
0.0 0


I saw this CSS trick years ago that I want to implement but I can’t find an example of it anywhere.

Basically it was a rotating rectangle with list items. In front of the rectangle were the words “I am a” then the rectangle would say something like “Web Developer” before spinning upward like a die and saying “Painter” and it would just keep going, cycling through dozens of titles.

It’s meant to fake being a 3D retangle with infinite sides.

Does anyone know of an example of this they could point me to?