CSS prefers-reduced-transparency Media Feature

Beginner
2 examples
Updated: Nov 2026

Definition and Usage

The prefers-reduced-transparency media feature detects a preference for fewer translucent effects. Replace glassmorphism and heavy backdrop-filter with solid surfaces.

CSS Syntax

syntax.css
@media (prefers-reduced-transparency: reduce) {
  .panel {
    background: #ffffff;
    backdrop-filter: none;
  }
}

Feature Values

ValueMeaningTry it
no-preferenceTransparency effects are fineTry it
reducePrefer more opaque UITry it

CSS Examples

Solid panel fallback

example.css
.panel {
  background: rgb(255 255 255 / 0.7);
  backdrop-filter: blur(8px);
}
@media (prefers-reduced-transparency: reduce) {
  .panel {
    background: #fff;
    backdrop-filter: none;
  }
}
Try It Yourself

Browser Support

prefers-reduced-transparency is a CSS media feature.

✓ Media Queries Level 5

prefers-reduced-transparency

Treat as progressive enhancement.

88% Modern browsers
Google Chrome Recent
Full support
Mozilla Firefox Recent
Full support
Apple Safari Recent
Full support
Microsoft Edge Recent
Full support
prefers-reduced-transparency Growing support

Bottom line: Keep usable default styles outside the query.

Frequently Asked Questions

Translucent layers can reduce readability and cause visual discomfort for some users.
Remove backdrop-filter blur and raise background opacity to solid colors.
They are separate preferences. Users can request one, both, or neither.
Support is growing. Always keep an opaque fallback ready.
Not necessarily. Prefer clearer contrast; soft shadows can remain if text stays readable.

Next: dynamic-range

Continue with dynamic-range.

dynamic-range →

CODETOFUN NEWS

Stay Ahead in Tech

Get the latest IT news, programming updates, and technology trends directly on your phone.

Your daily dose of tech, straight to your feed.

About the author

Mari Selvan M P
Mari Selvan M P 🔗

Developer, cloud engineer, and technical writer

  • Experience 12 years building web and cloud systems
  • Focus Full Stack Development, AWS, and Developer Education

I write practical tutorials so students and working developers can learn by doing—from databases and APIs to deployment on AWS.

2 people found this page helpful