Understanding the difference between 'shadow' and 'drop-shadow' in Tailwind #1685
-
Beta Was this translation helpful? Give feedback.
Answered by
falkoschindler
Sep 25, 2023
Replies: 1 comment 3 replies
-
|
According to the Tailwind CSS documentation (https://tailwindcss.com/docs/box-shadow and https://tailwindcss.com/docs/drop-shadow), both sets of classes translate to different CSS properties, e.g. So why should they look identical? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


I think it's partly because
drop-shadowuses lower alpha values. Here I removed them altogether and a large shadow becomes visible: