Share Posted May 30, 2022 Hi, I'm attempting place a CSS hover effect inside a longer GSAP sequence. Is it possible with GSAP to animate the CSS property of a particular element's ::after psuedo element? In the example below the scaleY property is animated for all menu items. I'd like to set the scaleY property for the particular menu item with the hover event and to separately set the ::after scaleY property for that element's sibling elements. Or is there an alternate way of animating a background that is contiguous with each menu item? Thanks! See the Pen bGLvBWM?editors=0010 by ripmurdock (@ripmurdock) on CodePen Link to comment Share on other sites More sharing options...
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!Register a new account
Already have an account? Sign in here.Sign In Now