ELSEIF
Your brief EB
403 stories from 115 feeds 456 clusters Refreshed 7 minutes ago next pull 18:22

WEB Signal 405

SMIL timing charts plan SVG animations that work inside img tags without JavaScript

Smashing Magazine outlines how timing charts can manage SMIL SVG animations, which work inside <img> tags without JavaScript but bloat quickly because each tag targets only one element and one property at a time.

WHY IT MATTERS

SMIL remains one of the few ways to fully animate SVGs loaded via <img> tags, where JavaScript is blocked and some attributes like viewBox lack CSS equivalents. The timing-chart approach and syncbase synchronization help manage SMIL's verbosity, making complex multi-element animations more tractable.

Written by elseif from the cluster below · every claim links back to a source

The three things worth knowing

01

SMIL animations run inside <img> tags and can animate SVG properties that lack CSS counterparts, unlike JavaScript which is blocked in that context.

02

Each SMIL tag targets a single element and a single property, so multi-element animations grow verbose quickly compared to CSS equivalents.

03

Timing charts visualize start and end times of component animations, and syncbase values let one animation begin relative to another's .begin or .end with an optional offset.

THE CLUSTER

Same story, 1 feed.

ORDERED BY FIRST SEEN
Smashing Magazine Timing Charts: A Blueprint For SMIL Animations Open ↗