DEV Community


Posted on

Answer: Hover underline effect with Elementor CSS

Your code almost works - the problem is the transition-property. You have left right which is not legal CSS. And in fact you only want to transition the right property, the underline stays anchored at the left side.

.underline {
  display: inline;
  position: relative;
  overflow: hidden;


Top comments (0)