Hover effect : expand bottom border - CSS

PHOTO EMBED

Fri Nov 12 2021 11:31:34 GMT+0000 (UTC)

Saved by @JureWeConvert #css

h1 { color: #666;display:inline-block; margin:0;text-transform:uppercase; }
h1:after {
  display:block;
  content: '';
  border-bottom: solid 3px #019fb6;  
  transform: scaleX(0);  
  transition: transform 250ms ease-in-out;
}
h1:hover:after { transform: scaleX(1); }
h1.fromRight:after{ transform-origin:100% 50%; }
h1.fromLeft:after{  transform-origin:  0% 50%; }
content_copyCOPY

https://stackoverflow.com/questions/28623446/hover-effect-expand-bottom-border