Home › Forums › Support › Button animation This topic has 8 replies, 3 voices, and was last updated 3 years, 5 months ago by David. Viewing 9 posts - 1 through 9 (of 9 total) Author Posts May 4, 2022 at 1:36 am #2208607 iamarghya On that website page, on 5th no. container there is a button with icon animation can u tell me how can I copy those settings? May 4, 2022 at 1:54 am #2208629 Fernando Customer Support Hi there, The icon moves through transform: translateX(8px); code on hover. Then, this code transition: all .3s ease-in-out; defines its transition. Hope this clarifies. 🙂 May 4, 2022 at 2:47 am #2208675 iamarghya Where to put that? can u get me full CSS for one button from my website May 4, 2022 at 2:49 am #2208678 iamarghya I can move the icon but I want to move the icon when the whole button is hovered May 4, 2022 at 2:57 am #2208685 DavidStaff Customer Support Hi there, can you share a link to the page on your website where we can see the button with the icon ? May 4, 2022 at 3:00 am #2208688 iamarghya Oh sorry, I forgot that I didn’t share my link.😓 May 4, 2022 at 3:04 am #2208698 DavidStaff Customer Support So you have this CSS: .gb-button-wrapper .gb-button .gb-icon:hover { transform: translateX(8px); transition: all .3s ease-in-out; } You need to move the :hover pseudo state to the button like so: .gb-button-wrapper .gb-button:hover .gb-icon { transform: translateX(8px); transition: all .3s ease-in-out; } May 4, 2022 at 3:07 am #2208704 iamarghya Perfectly worked Thanks. May 4, 2022 at 3:22 am #2208711 DavidStaff Customer Support Glad to hear that Author Posts Viewing 9 posts - 1 through 9 (of 9 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In