filter css

Hello, I would like to create an animation to highlight the 'filter' button on the shop page. Could you please tell me the name that designates it in CSS?


thank you


Comments

  • thank you i found it :


    .open-filters.mfn-off-canvas-switcher {

      position: relative;

      /* other button styles here */

      animation: colorChange 5s linear infinite;

      animation-delay: 3s;

    }


    @keyframes colorChange {

      0% { color: black; }

      25% { color: grey; }

      50% { color: red; }

      75% { color: grey; }

      100% { color: black; }

    }

  • Hi,

    Great to see that you handled it.

    Also thanks for sharing your solution. It might be useful for others.


    Best regards

Sign In or Register to comment.