CSS Animations · Reveals

Everything here is one HTML attribute.

Beauty portrait against chartreuse, in a gold sequinned jacket with glitter brows and black crystal earrings

The entrance matrix

data-kui="blur-in 700ms"

Fade — 5

Side-profile portrait in red-toned light, red headphones and a swept-up updo
data-kui="fade-in 2000ms"
Beauty portrait against a yellow backdrop — a blue bob with a blunt fringe, a yellow paint patch across one eye, and deep blue lips
data-kui="fade-up 2000ms"
Profile portrait in a sculpted lilac wrapped turban and matching fringed knit
data-kui="fade-down 2000ms"
Portrait in an emerald blazer and afro, dramatic window-shadow lighting against green
data-kui="fade-right 2000ms delay:2000ms"
Black-and-white beauty close-up, hand at chin, statement drop earrings
data-kui="fade-left 2000ms distance:100px"

Slide — 4

Close-up portrait rendered in glossy magenta, dramatic reflective lighting
data-kui="slide-up distance:480px"
Close portrait in monochrome yellow, autumn leaves resting over closed eyes
data-kui="slide-down distance:480px"
Portrait in a green jumpsuit against a matching green backdrop, one leg raised
data-kui="slide-right distance:480px"
Model wearing a mirrored visor, lit in orange and blue
data-kui="slide-left distance:480px"

Logical (RTL-aware) — 4

Editorial fashion portrait in monochrome mustard-gold, oversized coat
data-kui="slide-inline-end distance:480px"
Portrait dripping in glossy pink paint, eyes closed, dramatic pink backdrop
data-kui="slide-inline-start distance:480px"
Editorial fashion portrait in monochrome pink, blowing a bubblegum bubble
data-kui="slide-block-start distance:480px"
Portrait in a blue uniform and cap, a giant blue butterfly covering the eyes
data-kui="slide-block-end distance:480px"

Zoom — 4

Bold black and yellow face paint with cat-eye glasses, red lips
data-kui="zoom-in scale:0.05"
Beauty portrait in a white knit wrap and mirrored white sunglasses, bold red lips
data-kui="zoom-in-up scale:0.05 distance:150px"
Profile portrait wearing stacked gold cube earrings against a warm neutral backdrop
data-kui="zoom-in-down scale:0.05 distance:150px"
Sculptural profile lit in cobalt blue, wearing clear-framed glasses, on a lilac backdrop
data-kui="pop-in scale:0.05"

Flip — 2

Close profile portrait lit entirely in orange, round tinted glasses and a glossy jacket
data-kui="flip-in-x"
Portrait in an orange coat and beanie, tinted square sunglasses against an orange backdrop
data-kui="flip-in-y"

Rotate — 5

Beauty portrait in a rhinestone-mesh hood and matching bodysuit, bold red lips
data-kui="rotate-in"
Portrait lit entirely in purple, beret and round sunglasses against a striped backdrop
data-kui="rotate-in-left"
Close portrait in monochrome yellow, autumn leaves resting over closed eyes
data-kui="rotate-in-right"
Portrait in a green jumpsuit against a matching green backdrop, one leg raised
data-kui="roll-in"
Side profile beauty portrait lit in magenta, glossy pink jacket and diamond earring
data-kui="swing-in"

Blur — 1

Beauty portrait with white curls, cobalt lips and blue fur gloves framing the face
data-kui="blur-in 2000ms"

Combo presets — 2

Side profile portrait in yellow duotone, checkered turtleneck sweater
data-kui="fade-blur-up 2000ms"
Black-and-white portrait, red silk blindfold and red gloves framing the face
data-kui="fade-blur-in 2000ms"

Character easing — 5

Beauty portrait with a yellow bob wig, yellow eyeshadow, and freckles against a yellow backdrop
data-kui="bounce-in 1500ms"
Glossy red paint mask over the eyes, black lips, black gloves against red
data-kui="bounce-in-up 2000ms"
Beauty portrait in a white knit wrap and mirrored white sunglasses, bold red lips
data-kui="bounce-in-down"
Beauty portrait with white curls, cobalt lips and blue fur gloves framing the face
data-kui="back-in-up"
Black-and-white profile portrait in a wide-brim red hat and red cloak
data-kui="back-in-down"

Exits

Seated model in a navy vest, red tie and huge navy trousers, tan heeled boots Runway look in black with gold leaf embroidery and a gold belt White pinstripe suit with sharp shoulders, black tie and white gloves Long-exposure blur of a figure, pale streaks falling through deep blue
data-kui="fade-out 1000ms target:.exit-pic on:load"

Image reveals

Wipe — 4

Portrait lit entirely in gold, tinted round sunglasses and a black turtleneck
data-kui="wipe-up 1400ms target:img"
Red silk fabric swept across the eyes, bold red lips exposed below
data-kui="wipe-down 1400ms target:img"
Black-and-white profile portrait in a wide-brim red hat and red cloak
data-kui="wipe-left 1400ms target:img"
Black-and-white beauty close-up, hand at chin, statement drop earrings
data-kui="wipe-right 1400ms target:img"

Mask, curtain, blur — 3

Beauty portrait in an oversized pink ruffled headpiece against a magenta backdrop
data-kui="mask-reveal 1600ms target:img"
A model in a green jumpsuit against a flat green backdrop, one knee raised, in pale pink platform shoes
data-kui="curtain-reveal 1400ms target:img"
Profile portrait wearing stacked gold cube earrings against a warm neutral backdrop
data-kui="blur-up 1600ms target:img"

Ken Burns — 2

Beauty portrait with a yellow bob wig, yellow eyeshadow, and freckles against a yellow backdrop
data-kui="ken-burns 8000ms repeat:infinite yoyo:true scale:1.3 target:img"
Glossy red paint mask over the eyes, black lips, black gloves against red
data-kui="ken-burns-out 8000ms repeat:infinite yoyo:true scale:1.3 target:img"

Parallax frame — 1

Side profile portrait in yellow duotone, checkered turtleneck sweater
data-kui="image-parallax-frame distance:70px timeline:view target:img"

Image grow

A model in a magenta suit and heels, seated on a magenta floor against a magenta wall

Pixel curtain

Side-profile portrait in red-toned light, red headphones and a swept-up updo Beauty portrait against a yellow backdrop, a blue bob and a yellow paint patch across one eye Profile portrait in a sculpted lilac wrapped turban and matching fringed knit
Portrait in an emerald blazer and afro, dramatic window-shadow lighting against green Sculptural profile lit in cobalt blue, wearing clear-framed glasses, on a lilac backdrop Bold black and yellow face paint with cat-eye glasses, red lips
Monochrome teal portrait in a curved sculptural hat Close-up portrait rendered in glossy magenta, dramatic reflective lighting Side profile beauty portrait lit in magenta, glossy pink jacket and diamond earring
curtain cover:pixels reveal:pixels scope:true

Open and close

Side profile portrait lit entirely in green, curly hair and bare shoulder Portrait lit entirely in purple, beret and round sunglasses against a striped backdrop Portrait in an orange coat and beanie, tinted square sunglasses against an orange backdrop
data-kui="fade-open 600ms" data-open

Composition

Portrait dripping in glossy pink paint, eyes closed, dramatic pink backdrop
slide-up 900ms, blur-in 600ms delay:1800ms
Red silk fabric swept across the eyes, bold red lips exposed below
fade-up 900ms, zoom-in 700ms
Portrait in a blue uniform and cap, a giant blue butterfly covering the eyes
slide-left 900ms, blur-in 500ms, zoom-in 700ms

Parameters

Portrait lit entirely in gold, tinted round sunglasses and a black turtleneck
distance:140px
Bold black and yellow face paint with cat-eye glasses, red lips
expo-out easing
Neon-lit portrait in orange and blue, angular mirrored visor glasses
angle:-90deg
A model in a green jumpsuit against a flat green backdrop, one knee raised, in pale pink platform shoes
axis:horizontal fold:true
Beauty portrait in an oversized pink ruffled headpiece against a magenta backdrop
angle:35deg slats:10 from:start

Triggers

Side profile portrait lit entirely in green, curly hair and bare shoulder
on:hover
Close portrait in monochrome yellow, autumn leaves resting over closed eyes
on:click
Monochrome teal portrait in a curved sculptural hat
on:click
Portrait in black wind-swept fabric wrapped over the eyes, bold red lips against a red backdrop
on:load