[Solved] CSS Animation Line Grow on Hover [closed]


See below. Hope this helps

.read_more {
  font-family: "Gotham SSm A", "Gotham SSm B";
  font-size: 20px;
  color: #002c77;
  letter-spacing: 0;
  text-align: center;
  line-height: 28px;
  font-weight: bold;
  text-transform: uppercase;
}

div {
  position: relative;
  display: inline-block;
}

div:after {
  content: "";
  height: 3px;
  width: 20px;
  background-color: red;
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
}

div:hover:after {
  width: 30px;
  right: -30px;
}
<div><a href="#" class="read_more">Read More</a></div>

solved CSS Animation Line Grow on Hover [closed]