Apply Two Color Values for Button:

"<div style='margin:20px;width:" & Self.Width - 40 & "px;height:50px;background-image: linear-gradient(to left,#21d397,#0392d1) ;border-radius:10px; box-shadow: -5px 5px 15px -2px rgba(13, 39, 80, 0.45)'> </div>" 
As shown in the screenshot below, the button looks like the 1st image. On click it looks like 2nd image.

Insert a Html text control and use the below hotel value for this.
"<div style='margin:20px; width: " & Self.Width - 60 & "px; height: " & Self.Height - 60 & "px; background:#e8eaec;
box-shadow:
" & If(
VarReset,
" inset 5px 5px 4px #bec0c2,
inset -5px -5px 4px #ffffff",
" 12px 12px 18px rgba(13, 39, 80, 0.25), -10px -10px 15px white"
) & "; border-radius: 10px'></div>"


Modern Controls


Conclusion:
Utilizing HTML for advanced UI design in PowerApps can greatly enhance the overall user experience and functionality of your application. By leveraging the power and flexibility of HTML, you can create dynamic visuals, customize layouts, and incorporate interactive elements. To learn more about how to implement advanced UI design techniques in Power Apps using HTML, please contact us. Our team of experts will be happy to guide you through the process and help you achieve your desired results.
=====