My client wants me to implement this animation for our buttons https://codepen.io/avstorm/pen/WNrMqjG
Are we able to add animations with the custom code? I’m probably missing something because I’m adding the CSS to the element with the embed code and it does not work.
Could anybody help me to implement this effect? Or at least explain why adding the CSS to the element is not working?
This looks like something you can build natively, but custom code will work as well after the conversion. Assuming you’re using a class named btn-shine, the code below should work for you.
Note: I omitted the positioning styles from the button class to hopefully make this a bit easier to use as I’m not sure where you’re placing it within the design