Is there anyway to set Box Shadow for negative values? #1053
Unanswered
deadcoder0904
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Canvas shadows are not that powerful as CSS shadows. As far as I know, you can't fully control every side with canvas shadows. As a hacky workaround, you may try to create several shapes with different shadows (different blurs and offset). |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I really like Tailwind & if you see box-shadows, then they have it from all sides.
I would love to have the same approach in Konva but soon found out there is no way to add Shadow to the top or left. Am I correct?
Currently, I converted the
.shadow-lg
variant to Konva:But couldn't find a way to do it for negative values as well. Is there a way? Did I miss something?
Beta Was this translation helpful? Give feedback.
All reactions