Hi,
I was wondering if there a way to add dynamically generated style attributes to CSS Pseudo-classes like :hover, :before, :after and so on.
Let say I want to create a Gutenberg block where the user can select a link color via the ColorPalette component. Now I also want to give the user the availability to select the color for the ‘:hover’ state with another ColorPalette component.
How is it possible to add such a CSS Pseudo-class?
CSS Pseudo-classes will not work with inline styles but maybe there is a workaround.
Thanks