Sass styling properties for child element

0 votes
167 views
added Aug 8, 2017 in SCSS by anonymous
edited Jul 24, 2018 by LC Marshal
ul {
      margin: 0;
      list-style: none;
      li {
        display: inline-block; 
        padding: 0 15px;
        border-right: 1px solid #666666;
        line-height: 14px;
        &:last-child {
          border-right: 0;
        }
      }
    }
  }

 

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