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

CSS - border below heading

0 votes
29 views
added Feb 24 in CSS by lcjr First Warrant Officer (8,030 points)
h3 {
  position: relative;
  padding-bottom: 20px;
  &:after {
    content: "";
    position: absolute;
    width: 48px;
    height: 2px;
    background-color: rgba(0,0,0,.2);
    bottom: 0;
    left: calc(50% - 24px);
  }
}

 

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.
...