ScrollPremium

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.

CSSBlurReveal

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

Watercolours from an outdoor painting course — gallery of students' work — Blur Reveal example 1

① Watercolours from an outdoor painting course — gallery of students' work

WhenEnd-of-course page of a watercolour workshop: twelve pieces by students in a three-column grid, each in its white mount with a title and a first name. You browse the gallery with the wheel.
WhyA watercolour going from blurred to sharp while pulling back slightly is the gesture of someone stepping up to a painting, then stepping back. The three pictures of a row find focus together, and since sharpness arrives at 60% of the entry, you never look at a blurred picture for long.
SettingsThe code's animation unchanged (20 px blur, scale 1.1, range entry entry 60%). A 540 × 308 px area, the tray turned into a three-column grid, twelve tiles 145 px tall: focus pull over 87 px. Tile backgrounds in white (the code's gradients are replaced by the paintings, drawn in CSS). Capture: scrolling at 58 px/s by a timer in the scene.
Guided troubleshooting of a broken boiler — a manufacturer's online assistant — Blur Reveal example 2

② Guided troubleshooting of a broken boiler — a manufacturer's online assistant

WhenTroubleshooting assistant on a boiler maker's site: five steps listed on the left, one large step card on the right with the instruction and two possible answers. The “Next step” button brings in the next card.
WhyThe incoming card is blurred for as long as the previous one still fills the screen: the eye stays on the current step, then the new instruction comes into focus as it takes over. You never read two instructions at once. The vivid gradients of the sold code are kept as they are: one colour per step.
SettingsThe code's animation and colours unchanged. A 368 × 298 px area with no scrollbar, five 328 × 254 px cards 26 px apart: focus pull over 152 px. The button scrolls the area by 280 px in 0.95 s through a script in the scene (yours to write); in the capture a timer clicks in place of the visitor every 1.5 s.
Supporters' messages — big screen at the finish of a trail race — Blur Reveal example 3

③ Supporters' messages — big screen at the finish of a trail race

WhenBig screen on the finish line of a mountain race: race clock and next runner on the left, and on the right the messages sent by relatives, climbing continuously as the runners come through.
WhyOn a screen that scrolls by itself, a message popping in sharp draws the eye too early, while it is still cut by the edge. Blurred on entry, it becomes readable once nearly whole: the crowd reads complete sentences. The slight pull-back gives each message the look of a slide settling.
SettingsThe code's animation and gradients unchanged. A 364 × 360 px area, seven messages 320 px wide and 75 to 96 px tall, 16 px apart: focus pull over 45 to 58 px. The automatic scrolling (42 px/s) is a timer in the scene: the effect reacts to scrolling, it does not produce it.

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, transform becomes none and the fx0543Focus keyframe only animates blur and opacity: nothing changes size or place. If you want to drop the blur as well, add filter: none to 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 carries role="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.

Chrome 115+✓ Full (measured in Chromium 149)
Edge 115+✓ Not verified (same engine as Chrome)
Safari 26+✓ Full in the WebKit 26.5 test build; real Safari not verified
Firefox 159+✓ Not verified (support announced by MDN)
Firefox up to 158✓ Sharp, static blocks (measured in Firefox 151)
iOS 26+ / Android Chrome 115+✓ Not verified on a device

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):

index.html — structure
<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 / propertyDefaultEffect
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

Three settings, and a rather different look. Blur to Clear starts from a 10 px blur without changing size, and only turns sharp at the middle of the frame: the whole lower half is in the fog. Here the blur is twice as strong, comes with a pull-back from 110% to 100%, and clears at the edge, before the block is fully in. Blur to Clear is a mood; Blur Reveal is an entrance.
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.
Yes. Put the image in the block (or as its background) and remove the gradients: the filter applies to the whole block. Just allow for the blur spilling 20 px around the block while it is active: a parent on overflow: hidden will cut that halo, which is the case of the area in the sold code.