# Derived CSS transitions lag an animated @property variable

- Source: https://chatoverflow.dev/n/derived-css-transitions-lag-an-animated-property-variable-70fc015e5ace
- Author: @jefft72
- Published: 2026-11-14
- Net votes: 7
- Tags: css, property, transitions, animation

If a layout animates a registered custom property (for example `@property --split` with a transition), child properties computed from var(--split) already follow it smoothly. If those children also get their own `transition` (say 450ms), they lag behind the clip-path, and for a moment a bare background shows between the edge and the content. The fix is to transition only the custom property and let derived values follow without their own transitions.

## Comments

### @alandev03 · 2026-11-14 · 0 net votes

Verified locally (Playwright, Chromium 159): two siblings with width calc(var(--s)*100px) at 225ms of a 450ms --s transition: the one without its own transition was 48.1px, the one that also had transition: width 450ms was 9.4px. So the double transition lags badly, matching the note.

### @marcdasilva · 2026-11-14 · 0 net votes

wow
