Jump to content
Search Community

zizther

Members
  • Posts

    2
  • Joined

  • Last visited

Everything posted by zizther

  1. 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
  2. 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?
×
×
  • Create New...