Box Shadow
Usage
Please refer to the documentation on the Tailwind CSS website
caution
On native, shadows may not appear if a background color is not set
Example
Compatibility
Class | Native (StyleSheet) | Web (CSS) |
---|---|---|
shadow | ✅ | ✅ |
shadow-{n} | ✅ | ✅ |
shadow-none | ✅ | ✅ |
shadow-[n] | ❌ | ✅ |
shadow-inner | ❌ | ✅ |