how do i fade out a button and make it unclickable? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

how do i fade out a button and make it unclickable?

fade out a button and once its faded out make it unclickable. any easy ways of doing that. qq (quick question)

29th Nov 2019, 12:25 PM
doonv
doonv - avatar
2 Answers
+ 4
Yes Step 1 : Use Opacity property to fade out the button Step 2 : use pointer-events property and set it to none, that makes button unclickable 😉
29th Nov 2019, 1:06 PM
Raj Chhatrala
Raj Chhatrala - avatar
+ 1
thanks.
29th Nov 2019, 3:26 PM
doonv
doonv - avatar