The post discusses the limitation of adding transitions to non-pseudo classes, and the community members discuss the proper way to use transitions. One community member suggests using a custom class to apply the desired effect on hover only, and provides a Codepen example to illustrate the case.
transitions should generally be added on the main class, that's intentional, on a pseudo classes you only add the state that transition should transition to
right but for this instance i only want the effect to be applied on hover only, might be able to do it with keyframes but for now I just use a custom class
hmm, whats exactly the case? on hover its one transition and on some other state its no transition? can you make an example? I struggle to understand why