tailwindcss: `backdrop-blur-` does not work on webkit browsers (ie safari)

What version of Tailwind CSS are you using? v3.4.4

What build tool (or framework if it abstracts the build tool) are you using?

Next v14.2.2 PostCSS v8

What version of Node.js are you using?

Node v20.11.1 Bun v1.1.8

What browser are you using?

Safari [macOS/iOS] (does NOT work as expected) v17.5 Brave [Windows] (works as expected) v1.67.116 Arc [macOS] (works as expected) v1.47.1 Edge [Windows] (works as expected) v126.0.2592.56

What operating system are you using?

macOS 14.5 Windows 11 23H2

Reproduction URL

https://play.tailwindcss.com/s0uKhW1RIh

Describe your issue

The backdrop-blur- classes do not add the -webkit- style, so Safari and other webkit browsers aren’t being styled with a backdrop blur.

In this mean while, ot solve this I manually added each of the classes to my global css file

.backdrop-blur-3xl {
  --tw-backdrop-blur: blur(64px);
  -webkit-backdrop-filter: var(--tw-backdrop-blur);
  backdrop-filter: var(--tw-backdrop-blur);
}
...etc

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Reactions: 4
  • Comments: 20 (7 by maintainers)

Most upvoted comments

I have the exact same issue on Orion Browser version 0.99.130.2 on macOS which uses WebKit 621.1.2.111.4. I can reproduce the steps in the video by putting the value manually in the web inspector.

I do not however have the issue a on the iOS version of Orion Browser version 1.3.15 which uses WebKit 8619.2.8.10.7. I checked on macOS Safari (version 18.2) which uses a slightly older WebKit (620.1.16) and do not have the issue either.

I’ll see if I can spin up a linux box and give it a test (may not happen today but hopefully this week)