Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Well, I don't know how to do nesting right now so there WOULD be something to learn :D

Maybe it was that a clear winner never arose between LESS and SASS or maybe that I always let things play out a bit before jumping onto a trendy technology. I guess I'll have to just get with it since it's not really going away.



It's literally:

    .header {
        background-color: orange;
    
        p {
            font-size: 16px;
        }
    }
You nest the selectors and it spits out .header{} and .header p {}. Much cleaner to write and maintain.


Well, now I learned something. Also, that's pretty awesome. I could definitely use that.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: