How to Add CSS Styles to Canvas Pieces Based on Conditions #84
Unanswered
codeHarvest
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am working on a project where I need to target specific pieces of a canvas/puzzle element.
I can successfully retrieve these pieces and apply color styles to them using metadata.
However, I am facing challenges in applying other CSS styles,
such as hiding and showing these pieces based on certain conditions and adding box shadows.
Could someone please guide me on how to:
Hide and show canvas pieces based on specific conditions.
Add CSS styles like box shadow to these canvas pieces.
Any code examples or pointers to relevant documentation would be greatly appreciated.
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions