scala - How can I encode this in ScalaCSS? -


i'm trying translate css scalacss , can't quite figure out how encode pattern of "class subclass". here specific example:

.navbar-top-links {    margin-right: 0; }  .navbar-top-links li {     display: inline-block; }  .navbar-top-links li:last-child {     margin-right: 15px; } 

in quickstart can see use of & define child styles:

".navbar-top-links" - (     marginright(0),      &("li") - (         display.inlineblock,          &.lastchild -             marginright(15 px)     ) ) 

Comments

Popular posts from this blog

php - Admin SDK -- get information about the group -

dns - How To Use Custom Nameserver On Free Cloudflare? -

Python Error - TypeError: input expected at most 1 arguments, got 3 -