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

SCSS - nested class

0 votes
18 views
added Aug 15, 2017 in SCSS by azhaer Corporal (1,070 points)
edited Jul 24, 2018 by LC Marshal
// CSS

li.facebook, li.twitter {
 background: #eee;
}

// SCSS
li {
  &.facebook, &.twitter {
    background: #eee;
  }
}

 

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