
- Tanga
- CSS
- Dizayn
- Animatsiya
3D animation without a single line of JavaScript
135
The tangabot.uz landing is a static export, and the last build step strips every script from the pages. It loads fast and works without JavaScript, but it also rules out animation libraries.
So all the 3D is CSS. The hero has a perspective floor grid that slowly moves, three floating coins and a tilted phone mockup with real thickness. Each coin is built from two faces and nine rim layers held together with preserve-3d. Cards tilt on hover, and sections rise out of the depth as you scroll, using animation-timeline: view(); browsers without it simply show the page as before. With "reduce motion" turned on, the movement stops.
Then came a precise requirement: the coin must look the same everywhere — the patterned rim, the T in the middle and the same picture on the back. The logo had been an SVG, and in some places it lacked the rim. Now both coin faces and every logo on the site use one brand image, the same one as the bot's avatar.
Checking on a phone taught me something too: headless Chrome with a 390 px window still lays the page out wider and crops it. The page was fine; the screenshot was misleading.
Takeaway: a constraint like "no JavaScript" doesn't rule out an effect, it just picks the tool.