@nemos
        
        2017-05-06T02:48:13.000000Z
        字数 1341
        阅读 818
    web
/************************** 变量 **************************/$font-stack: Helvetica, sans-serif$primary-color: #333bodyfont: 100% $font-stackcolor: $primary-color/************************** 嵌套 **************************/navulmargin: 0padding: 0list-style: noneliadisplay: blockpadding: 6px 12pxtext-decoration: none/************************** 混合 **************************/=border-radius($radius)-webkit-border-radius: $radius-moz-border-radius: $radius-ms-border-radius: $radiusborder-radius: $radius.box+border-radius(10px)//////////////////////////////////////////////////////////.box {-webkit-border-radius: 10px;-moz-border-radius: 10px;-ms-border-radius: 10px;border-radius: 10px;}/************************** 继承 **************************/.messageborder: 1px solid #cccpadding: 10pxcolor: #333.success@extend .messageborder-color: green.error@extend .messageborder-color: red/************************** 运算 **************************/.containerwidth: 100%article[role="main"]float: leftwidth: 600px / 960px * 100%aside[role="complementary"]float: rightwidth: 300px / 960px * 100%
pageTitle = "Jade Rocks!"doctype 5html(lang="en")headtitle= pageTitlescriptconsole.log("hi");bodyp.greeting Hello, World!
<!DOCTYPE html><html lang="en"><head><title>Jade Rocks!</title><script>console.log("hi");</script></head><body><p class="greeting">Hello, World!</p></body></html>