IssueRaiser

Motion Blur Effects

# Why Current CSS blur capabilities apply uniformly across entire elements, which limits the potential for directionally, progressively, and partially blurred effects directly in CSS. Achieving realistic motion effects, like motion blur, or specific directional blurs, which add depth and context, is only feasible through design tools such as Figma and Photoshop. As a UX Engineer with experience in both design and development, I see a need to expand CSS blur capabilities to enhance design fidelity on the web. ## Motivation In a recent conversation with Google DevRel @argyleink, he emphasized the value of adding a directional blur feature in CSS. This would allow for effects currently only available in SVG to be more accessible within CSS, promoting consistency across web platforms and design tools. ## Feature Breakdown ## 1. Motion Blur: * Description: Simulates real-world motion by blurring, similar to motion graphic tools like Photoshop's motion blur. * Use Cases: Adds realism in animations, especially for fast-moving elements like vehicles or UI components. * Proposed Syntax: ```css .blur-layer { motion-blur: 10px, -30deg; /* Shorthand for motion blur */ /* Long-form properties */ motion-blur-distance: 10px; motion-blur-angle: -30deg; } ``` * Values: `motion-blur: none | auto | inherit | initial;` where auto applies a default subtle blur, none disables the effect, and inherit follows the parent element. * Example from Photoshop: ![Motion Blur Photoshop](http

Posted by yashrajbharti on Nov 1, 2024, 12:54 PM

Tags

Related issues

Raise real-world problems, find people facing the same issue, and discuss solutions.2,000 issues0 comments

ux (Other)

Motion Blur Effects

yashrajbhartiNov 1, 2024, 12:54 PM

# Why Current CSS blur capabilities apply uniformly across entire elements, which limits the potential for directionally, progressively, and partially blurred effects directly in CSS. Achieving realistic motion effects, like motion blur, or specific directional blurs, which add depth and context, is only feasible through design tools such as Figma and Photoshop. As a UX Engineer with experience in both design and development, I see a need to expand CSS blur capabilities to enhance design fidelity on the web. ## Motivation In a recent conversation with Google DevRel @argyleink, he emphasized the value of adding a directional blur feature in CSS. This would allow for effects currently only available in SVG to be more accessible within CSS, promoting consistency across web platforms and design tools. ## Feature Breakdown ## 1. Motion Blur: * Description: Simulates real-world motion by blurring, similar to motion graphic tools like Photoshop's motion blur. * Use Cases: Adds realism in animations, especially for fast-moving elements like vehicles or UI components. * Proposed Syntax: ```css .blur-layer { motion-blur: 10px, -30deg; /* Shorthand for motion blur */ /* Long-form properties */ motion-blur-distance: 10px; motion-blur-angle: -30deg; } ``` * Values: `motion-blur: none | auto | inherit | initial;` where auto applies a default subtle blur, none disables the effect, and inherit follows the parent element. * Example from Photoshop: ![Motion Blur Photoshop](http

Comments (0)

No comments yet. Start the discussion.

Comment on this issue