title
A prototype
Aspect ratio 2/1 to 1/2
div{ width:300px; aspect-ratio:2/1; background:black; color:white; padding:1em; animation:a 2s linear infinite alternate; } @keyframes a{ from{aspect-ratio:2/1;} to{aspect-ratio:1/2;} }
snap
save
new
fork
download
html
css
js
output
gallery
config
➚ link to output
➚ snap player
font size
live reload
snap mode
layout
⤷ switch
★ info and code