zizther
Content Type
Profiles
Forums
Store
Blog
Product
Showcase
FAQ
Downloads
Posts posted by zizther
-
-
I have multiple buttons with the same class on a page. I have a mouseover event on the buttons and I want to update the :before pseudo on the current button.
How would I pass in the current button so that not all buttons would update if i were to use the CSS class attached to all buttons?
Is it possible to use `this` at all or would I have to apply a unique class to each button or something?
How to select a pseudo of this for CSSRulePlugin.getRule
in GSAP
Posted
Thanks @ZachSaucier
At the moment I have an element within the button which is being controlled via the JS, i was just wondering if i could clean that up by using the pseudo and controlling it via GSAP.
Seems like it will be easier to keep it the way I have it now.
Thanks