siterealMotion & effects

An animation is an attribute.

data-motion="rise" is the whole of it, and everything else overrides what that name already means. Everything on this page moves with nothing but attributes.

01Reveals

Twelve ways in, and each one has a name.

A reveal is one of these presets, picked in the Effects panel and tuned from there. Hover a tile to watch it arrive.

01
Fade inopacity only — the quiet one
02
Risefades in from below
03
Sinkfades in from above
04
Slide rightenters from the left
05
Slide leftenters from the right
06
Zoomgrows into place
07
Popsmall, then overshoots
08
Blur infocus pulls in
09
Tiltrights itself as it arrives
10
Flip horizontalturns in about the vertical axis
11
Flip verticalturns in about the horizontal axis
12
Skewleans in and straightens

02Effects

Effects live in the Style panel.

The last folds of Style are what the element does. Seven effects answer three questions — when it arrives (In view, Appear, Scrub), where it sits as you scroll, and what it does under the cursor — and every row opens a sheet of its own.

data-motion="rise"data-scroll-speed="0.3".card:hover

03Springs

A spring is three numbers and a solver.

Stiffness, damping and mass, sampled into a real CSS linear() easing — so the page needs no physics engine, and the curve survives being pasted into a stylesheet. Its duration is a result, not a setting.

data-motion-spring="220 12 1"
Stiffness 220 · damping 12 · mass 1

04Scroll links

Scroll links are positions, not animations.

data-scroll-speed says where an element sits given where the page is. It writes transform while a reveal writes the individual properties, so one element can carry both.

-0.3
-0.1
0.1
0.3
0.5

Hover and press are rules you can read.

Hover me&:hover { translate: 0 -6px; }
Press me&:active { scale: 0.96; }

They show up in the CSS tab and work with JavaScript off — which is the whole reason they are a rule and not a runtime.

Start building the sites you’ve always wanted.

Seven days free, on your machine — and every site you build is real Astro in your own repository, yours from the first save.