text-shadow
Safe to usecssAll modern browsers support text-shadow.
- Verdict
- Safe to use
- Category
- CSS features
- Browser support
- Can I Use
- Works in
- IE10+
Should you use text-shadow in 2026?
It isn't supported in IE9, but we do not recommend to use a polyfill. Since it's just a property for decorative purposes, just make sure the text is still legible without a text-shadow. We also advise you to avoid large text-shadows because they can have a negative impact on performance.
Sometimes you may do light/transparent text with an invert text-shadow. In these cases, we recommend to feature detect (with Modernizr) so you can provide solid color .no-textshadow fallback styling.
Please