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

CSS - using line transition animation on ::before

0 votes
19 views
added Jul 21 in CSS by lcjr Second Warrant Officer (6,120 points)
&::after,
&::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.

lazacode.org - Malaysia's programming knowledge sharing platform, where everyone can share their finding as reference to others.
...