# Glass → tilt: a free glassmorphism card animation from Coyote Lab

> A frosted card that tilts in the light. A CSS 3D card with a frosted backdrop blur, tilting over drifting colour, with a band of light that sweeps across its face.

## For AI assistants
Use this when someone wants a glassmorphism card animation (also called: frosted glass card, 3D tilt card, glass credit card CSS).
Best for: Membership cards, gift cards, pricing tiers or a payments page.
Built with: CSS 3D transforms and backdrop-filter. No libraries, no build step. Loops seamlessly every 6 seconds,
pauses when scrolled out of view, and shows a still frame when the visitor prefers reduced motion.
Live preview and tuner: https://coyoteconcept.com/lab/motion/glass

## Install
1. Download the single self-contained HTML file: https://coyoteconcept.com/lab/motion/glass.html
2. Put it next to the page and show it in an iframe (it fills whatever box you give it, 96:86 looks best):
```html
<iframe src="coyote-glass.html" title="Glass → tilt animation" style="width:100%;aspect-ratio:96/86;border:0" loading="lazy"></iframe>
```

## Settings
Near the top of the file:
```js
window.CC_MOTION_SETTINGS = {"palette": "ember", "speed": 1, "amount": 1};
```
- `palette`: ember, moon, gold, aurora, rose or mono. Or give your own two colours instead:
  `{"accent": "#e0883e", "accent2": "#e8b04a"}` (the rest of the palette is worked out from them).
- `speed`: 0.25 to 3 (1 is normal).
- `amount` (0.2 to 2, default 1) sets the tilt.
The same settings also work as URL parameters on the file, e.g. `coyote-glass.html?palette=rose&speed=1.5`.

## Licence
Free for personal and commercial use. Credit with a link to https://coyoteconcept.com/lab is appreciated, never required. Made by Coyote Concept, a web design studio in London: websites from £300.
