I made a simple animation on hover for the buttons in my project using an ::after pseudoelement and the content property. I applied this styling to a class in an embed element. This works well in the designer and in the published site, but it doesn’t work when the class is applied to the form submit button.
Here’s the CSS I used:
z-index: 999 !important;
Here is my public share link and published site link: