176 web animation techniques, each a live demo with plain settings and a ready-made prompt for your AI assistant. No dependencies, no build step.
HTML ai-promptsanimationcss-animationsfrontendgithub-pagesjavascriptmicrointeractionsmotion-designno-dependenciesreferencescroll-animationui-animationweb-animationweb-developmentwebgl
fix: 3D Model Orbit clears its place label
matin67f8f53b092b
diff --git a/index.html b/index.htmlindex 6f68e1a2..39246829 100644--- a/index.html+++ b/index.html@@ -367,7 +367,7 @@ button,input{font:inherit;color:inherit}@keyframes s5type{0%{transform:scaleX(0)}45%,100%{transform:scaleX(var(--w,1))}}/* signature: 06 3d cube */.pv-sig6{background:#070709;display:grid;place-items:center;perspective:420px;container-type:size}-.pv-sig6 .cube{--h:min(33px,19cqh);position:relative;top:5cqh;width:calc(var(--h) * 2);height:calc(var(--h) * 2);transform-style:preserve-3d;animation:s6spin 9s linear infinite} /* smaller on a small card and a little low, as 3D Model Orbit's */+.pv-sig6 .cube{--h:min(33px,16cqh);position:relative;top:9cqh;width:calc(var(--h) * 2);height:calc(var(--h) * 2);transform-style:preserve-3d;animation:s6spin 9s linear infinite} /* smaller on a small card and a little low, as 3D Model Orbit's */.pv-sig6 .face{position:absolute;inset:0;border:1px solid var(--accent);background:color-mix(in srgb,var(--accent) 8%,transparent)}.pv-sig6 .f1{transform:translateZ(var(--h))}.pv-sig6 .f2{transform:rotateY(180deg) translateZ(var(--h))}.pv-sig6 .f3{transform:rotateY(90deg) translateZ(var(--h))}.pv-sig6 .f4{transform:rotateY(-90deg) translateZ(var(--h))}@@ -922,7 +922,7 @@ button,input{font:inherit;color:inherit}/* ── bespoke: 06 3D & Advanced ── *//* the cube's half side --h: 30px, smaller on a small card, and the cube a little low, so it turns clear of the place label (1cqh is 1% of the stage's height) */.pv-orbit3d{background:#05080a;display:grid;place-items:center;perspective:460px;container-type:size}-.pv-orbit3d .cube{--h:min(30px,18cqh);position:relative;top:5cqh;width:calc(var(--h) * 2);height:calc(var(--h) * 2);transform-style:preserve-3d;animation:d-orbit 7s linear infinite}+.pv-orbit3d .cube{--h:min(30px,16cqh);position:relative;top:9cqh;width:calc(var(--h) * 2);height:calc(var(--h) * 2);transform-style:preserve-3d;animation:d-orbit 7s linear infinite} /* sized to the stage and set low enough that its top corner clears the place label at every width (closest at 601px) */.pv-orbit3d .face{position:absolute;inset:0;background:color-mix(in srgb,var(--accent) 26%,#0a1412);border:1px solid color-mix(in srgb,var(--accent) 60%,transparent)}.pv-orbit3d .f1{transform:translateZ(var(--h))}.pv-orbit3d .f2{transform:rotateY(180deg) translateZ(var(--h))}.pv-orbit3d .f3{transform:rotateY(90deg) translateZ(var(--h))}.pv-orbit3d .f4{transform:rotateY(-90deg) translateZ(var(--h))}.pv-orbit3d .f5{transform:rotateX(90deg) translateZ(var(--h))}.pv-orbit3d .f6{transform:rotateX(-90deg) translateZ(var(--h))}@keyframes d-orbit{0%{transform:rotateX(-25deg) rotateY(0)}100%{transform:rotateX(-25deg) rotateY(360deg)}}