Are you first timer at Why not join us and start exchange your programming knowledge with everyone. Register today!

CSS - using line transition animation on ::before

0 votes
added Jul 21 in CSS by lcjr Second Warrant Officer (6,120 points)
&::before {
  background: ${mainColor};
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  transition: all 0.7s ease-in-out;


Please log in or register to response this reference. - Malaysia's programming knowledge sharing platform, where everyone can share their finding as reference to others.