Blur Reveal
A focus pull on entry: the block comes in blurred by 20 px, enlarged to 110% and invisible, then turns sharp, true to size and opaque before it is even fully in — 59 px of scrolling for a 99 px block. Three properties animated together by animation-timeline: view(), range entry 0% → entry 60%, CSS only.
Updated
This effect is part of Effect.Labs — 846 vanilla effects, some free, some premium. Scroll has 74 effects, including 12 free. Explore the category →
3 usage examples



How it works
Five gradient blocks (.sb-blur-box, full width, 16 px corners) in a .sb-blur-content tray, inside a 280 px scrolling area. The starting state stacks three things: opacity: 0, filter: blur(20px) and transform: scale(1.1). The fx0543BlurReveal keyframe brings them all back to neutral, and animation-timeline: view() ties that progress to the block's position. The pull-back from 110% to 100% is what gives the impression of a lens finding focus, rather than a plain blurry fade.
The entry entry 60% range is short: sharpness is reached when 60% of the block's height has crossed the bottom edge. Recorded on the demo, block 3: after 40 px of scrolling it is at 3% opacity and 19 px of blur; at 80 px, 71% opacity, 6 px of blur, scale 1.03; at 120 px it is sharp. Blur is therefore an edge-of-frame affair — everything higher up is readable. The block backgrounds cycle through three gradients with :nth-child(3n+2) and :nth-child(3n), however long the list is.
What was fixed in the shipped code: the demo had only three blocks, two of them already sharp on load — a single one animated, followed by 300 px of emptiness; it now has five and stops on the last one (455 px of travel). A block enlarged to 110% sticks out of the frame sideways: at 1,280 px wide the area gained 42 px of horizontal scrolling, now clipped by overflow-x: hidden. Every selector sits under .fx-0543-root, so two copies on a page do not step on each other.
Accessibility
- Reduced motion: the scale pull-back is removed, the focus pull stays. Under
prefers-reduced-motion: reduce,transformbecomesnoneand thefx0543Focuskeyframe only animates blur and opacity: nothing changes size or place. If you want to drop the blur as well, addfilter: noneto that same rule: a fade will remain. - Blurred text: during the 59 px of the focus pull the block's content is unreadable by design. That is harmless for a heading or an image, awkward for an instruction to be read fast. The content exists for screen readers from the start: neither blur nor opacity takes it out of the accessibility tree.
- Keyboard: the scrolling area takes keyboard focus (
tabindex="0") and shows it with a violet outline; the arrow keys then move the blocks from blurred to sharp. Behaviour recorded in Chromium, Firefox and WebKit, where the area was skipped before this addition. It carriesrole="region"and a name (aria-label) to adapt. - Contrast and touch: the white text over the code's gradients falls short on their light zones — about 2.1:1 on the amber and 2.4:1 on the cyan (computed), against the 4.5:1 required. As shipped it is demo dressing: darken the gradients or the text as soon as a block carries information. With a finger the area scrolls natively (checked with touch emulation).
Browser compatibility
No script. filter: blur() and transform are old (all current versions); the limit is animation-timeline: view() with animation-range: Chrome and Edge from 115, Safari from 26, Firefox from 159 according to MDN. The blur, opacity and scale values read in Chromium 149 and WebKit 26.5 coincide. Firefox 151 does not apply the rule and shows five sharp blocks; Firefox 159+ could not be tried. The smoothness of the blur while scrolling was not timed.
The starting blur, enlargement and transparency live in the @supports (animation-timeline: view()) block. Without support none of the three is set: the blocks are sharp right away. So there is no case where a block would stay blurred for lack of animation.
The code
HTML structure to paste into your page (the CSS + JS come with your purchase):
<div class="fx-0543-root">
<div class="sdc-scroll-container" tabindex="0" role="region" aria-label="…">
<div class="sb-blur-content">
<div class="sb-blur-box">
<h4>…</h4>
<p>…</p>
</div>
… ×5 (three gradients in rotation)
</div>
</div>
<span class="sdc-scroll-hint" aria-hidden="true">…</span>
</div>
One-time payment, no subscription — the code is yours forever
Customize
Options passed to the API or data-* attributes:
| Option / property | Default | Effect |
|---|---|---|
Starting blur (CSS — filter: blur(20px)) |
20 px | 8 px lets shapes show through and suits text; 40 px reduces the block to a patch of colour. The keyframe always ends at blur(0). |
Pull-back (CSS — transform: scale(1.1)) |
1.1 → 1 | scale(1) removes the pull-back and leaves a pure blur, close to Blur to Clear; scale(1.25) pushes the lens effect but makes the block stick out further sideways — keep overflow-x: hidden. |
Range (CSS — animation-range: entry entry 60%) |
sharp at 60% of the entry (59 px for 99 px) | entry entry 100% only finds focus once the whole block is in the frame. The length follows the block's height: 152 px for a 254 px card. |
Backgrounds (CSS — .sb-blur-box, :nth-child(3n+2), :nth-child(3n)) |
three gradients in rotation | Replace them with a colour, a background image, or empty them if the block holds a photo. The blur applies to the whole content of the block, background included. |
Area and tray (CSS — .sdc-scroll-container { height: 280px }, .sb-blur-content { gap: 30px }) |
280 px tall, 30 px between blocks | With no height and no overflow-y, the page scroll does the focusing. The tray accepts a grid: a whole row turns sharp at the same time. |
Hint (HTML — span.sdc-scroll-hint) |
“Scroll ↓” over the bottom of the frame | Delete it outside a demo: laid over the bottom of the frame, it covers exactly the band where blocks are still blurred. |
FAQ
filter: blur() is heavier to paint than an opacity or a translation, and it is recomputed at each scroll step for as long as the block is in its range. Here the range is short and only one or two blocks are blurred at once, which limits the load; we did not time the rendering. On large images or a dense grid, try it on a modest phone before publishing, and lower the radius if needed.overflow: hidden will cut that halo, which is the case of the area in the sold code.