{"id":555689,"date":"2022-02-26T03:47:31","date_gmt":"2022-02-25T19:47:31","guid":{"rendered":"http:\/\/4563.org\/?p=555689"},"modified":"2022-02-26T03:47:31","modified_gmt":"2022-02-25T19:47:31","slug":"%e4%b8%ba%e4%bb%80%e4%b9%88%e8%85%be%e8%ae%af%e5%92%8c%e9%98%bf%e9%87%8c%e7%9a%84%e5%bc%80%e6%ba%90%e5%ba%93%e4%bd%bf%e7%94%a8-less-%e8%80%8c%e9%9d%9e-sass-%e4%bd%9c%e4%b8%ba-css-%e9%a2%84%e7%bc%96-40","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=555689","title":{"rendered":"\u4e3a\u4ec0\u4e48\u817e\u8baf\u548c\u963f\u91cc\u7684\u5f00\u6e90\u5e93\u4f7f\u7528 less \u800c\u975e sass \u4f5c\u4e3a css \u9884\u7f16\u8bd1\u8bed\u8a00?"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1> \u4e3a\u4ec0\u4e48\u817e\u8baf\u548c\u963f\u91cc\u7684\u5f00\u6e90\u5e93\u4f7f\u7528 less \u800c\u975e sass \u4f5c\u4e3a css \u9884\u7f16\u8bd1\u8bed\u8a00? <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : zenben <\/span>  <span><i><\/i> 63<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> less \u76f8\u8f83\u4e8e sass \u6709\u4ec0\u4e48\u4f18\u70b9\u5417? bootstrap \u65e9\u671f\u4f7f\u7528 less, \u5982\u4eca\u4e5f\u662f\u4f7f\u7528 scss, \u4e3a\u4f55\u817e\u8baf\u548c\u963f\u91cc\u7684\u5f00\u6e90\u5e93\u6ca1\u6709\u8ddf\u8fdb, \u662f\u56e0\u4e3a\u5728\u67d0\u4e9b\u65b9\u9762 less \u6bd4 scss \u4f18\u5417?  <\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>22<\/span>) <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"7150713\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : oott123 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>  <\/span> <\/div>\n<\/p><\/div>\n<div> \u4e00\u4e2a\u731c\u60f3\uff1a\u65e9\u4e9b\u5e74 node-sass \u5e26\u4e00\u4e2a native \u4f9d\u8d56\u4e0d\u597d\u88c5 <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"7150714\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : MonkeyD1 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>  <\/span> <\/div>\n<\/p><\/div>\n<div> node-sass \u4e00\u5806\u95ee\u9898 \u5df2\u7ecf\u4e0d\u7ef4\u62a4\u4e86, \u6bcf\u6b21 npm \u88c5\u90fd\u8981\u62a5\u9519 node \u7248\u672c\u8fd8\u6709\u517c\u5bb9\u95ee\u9898 <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"7150715\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : changwei <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>  <\/span> <\/div>\n<\/p><\/div>\n<div> \u540c\u95ee<br \/>\u4e2a\u4eba\u611f\u89c9 sass \u5f88\u597d\u7528\uff0c\u8bed\u6cd5\u66f4\u52a0\u7075\u6d3b\uff0c\u5c24\u5176\u662f\u6709\u4e00\u79cd\u4e0d\u9700\u8981\u5927\u62ec\u53f7\u7684\u7c7b\u4f3c\u4e8e python \u7684\u7f29\u8fdb\u5199\u6cd5\u53ef\u4ee5\u8282\u7701\u5f88\u591a\u6362\u884c\uff0c\u8ba9\u4e00\u4e2a\u5c4f\u5e55\u53ef\u4ee5\u663e\u793a\u66f4\u591a\u6837\u5f0f<br \/>\u4f46\u662f\u6700\u65e9\u4ee5\u524d sass \u597d\u50cf\u662f\u662f\u7528 ruby \u5f00\u53d1\u7684\uff0c\u8fd8\u8bb0\u5f97\u5f53\u5e74 webpack \u8fd8\u53ea\u6709 1.0 \u7248\u672c\u7684\u65f6\u5019\u6211\u770b\u7684\u6559\u7a0b\u90fd\u662f\u6559\u7528 gem \u5b89\u88c5 sass \u7136\u540e\u914d\u7f6e watch \u81ea\u52a8\u8f6c\u6362\u505a\u5f00\u53d1\u7684\uff0c\u800c\u4e14\u56e0\u4e3a\u7528 ruby \u7684\u4eba\u5c11\uff0c\u6240\u4ee5 gem \u6e90\u7ad9\u548c\u955c\u50cf\u90fd\u5f88\u6162<br \/>\u540e\u6765\u6709 node-sass \u53ef\u4ee5\u76f4\u63a5\u7528 npm \u5b89\u88c5\uff0c\u73b0\u5728\u597d\u50cf\u53c8\u6709\u4e00\u4e2a\u57fa\u4e8e dart \u5f00\u53d1\u7684 sass (npm package name \u5c31\u53eb sass) \u4f46\u662f\u7f51\u4e0a\u53c8\u6709\u5f88\u591a\u4eba\u8bf4\u8fd9\u4e2a\u7f16\u8bd1\u901f\u5ea6\u6162\u597d\u51e0\u500d\u8bf4\u4e0d\u63a8\u8350\u4f7f\u7528\uff0c\u641e\u5f97\u6211\u4e5f\u8ff7\u832b\u4e86\uff0c\u5982\u679c\u4ee5\u540e\u8fd8\u60f3\u7ee7\u7eed\u4f7f\u7528 sass \u5e76\u4e14\u83b7\u5f97\u793e\u533a\u7684\u66f4\u65b0\u652f\u6301\u7684\u8bdd\uff0c\u7528\u54ea\u4e2a\u597d\u4e00\u70b9\u5462\uff1f <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"7150716\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : lmqdlr <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>  <\/span> <\/div>\n<\/p><\/div>\n<div> sass \u5165\u95e8\u4ece\u5b89\u88c5\u5230\u653e\u5f03 <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"7150717\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : murmur <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>  <\/span> <\/div>\n<\/p><\/div>\n<div> less \u7684\u7f16\u8bd1\u4e0d\u4f9d\u8d56\u4efb\u4f55 native \u6a21\u5757 \u723d\u6b6a <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"7150718\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : 66beta <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>  <\/span> <\/div>\n<\/p><\/div>\n<div> less \u66f4\u53d7\u8bbe\u8ba1\u5e08\u559c\u7231\uff0c\u7801\u519c\u561b\uff0c\u660e\u663e\u4f1a\u66f4\u559c\u6b22 sass <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"7150719\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : makelove <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>  <\/span> <\/div>\n<\/p><\/div>\n<div> \u6700\u70e6 NPM \u5305\u6709\u4e8c\u8fdb\u5236\u8981\u7f16\u8bd1\u7684\uff0c\u7279\u522b\u662f sqltie \u4e4b\u7c7b\uff0c\u8001\u662f\u6709\u95ee\u9898 <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"7150720\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : murmur <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>  <\/span> <\/div>\n<\/p><\/div>\n<div> @66beta \u8fd9\u4ec0\u4e48\u903b\u8f91\uff0c\u8bbe\u8ba1\u5e08\u505a\u51fa\u6765\u7684\u4e1c\u897f\u7801\u519c\u7167\u6284\u5c31\u53ef\u4ee5\uff0c\u8fd8\u53ef\u4ee5\u8ba8\u4ef7\u8fd8\u4ef7\u7684\u4e48 <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"7150721\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : FightPig <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>  <\/span> <\/div>\n<\/p><\/div>\n<div> \u4e00\u76f4\u7528\u7684 sass \uff0c\u4eca\u5e74\u5927\u591a\u7528\u7684 postcss <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"7150722\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : 66beta <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>  <\/span> <\/div>\n<\/p><\/div>\n<div> @murmur \u56fd\u5916\u7684\u8bbe\u8ba1\u5e08\u4f1a\u5199\u524d\u7aef\u9875\u9762\u7684\uff0c\u56fd\u5185\u5206\u5f97\u5f88\u5f00 <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"7150723\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : 66beta <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>  <\/span> <\/div>\n<\/p><\/div>\n<div> @FightPig postcss \u662f\u540e\u5904\u7406\u5668\uff0c\u4e24\u56de\u4e8b <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"7150724\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : waiaan <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>  <\/span> <\/div>\n<\/p><\/div>\n<div> @66beta <br \/>+1 \uff0c\u56fd\u5185\u6709\u7684 ui \u4f1a\u76f4\u63a5\u628a\u9759\u6001\u9875\u9762\u5199\u597d\uff0c\u5c31\u662f\u5355\u7eaf\u7684 html+css \u3002 <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"7150725\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : ccyu220 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>  <\/span> <\/div>\n<\/p><\/div>\n<div> \u6ca1\u4f60\u60f3\u7684\u590d\u6742\uff0c\u5355\u7eaf\u7684\u56e0\u4e3a dark-sass \u6ca1\u51fa\u6765\u4e4b\u524d\u7684 node-sass \u9057\u7559\u95ee\u9898\u3002 <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"7150726\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : cmdOptionKana <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>  <\/span> <\/div>\n<\/p><\/div>\n<div> @changwei \u5f53\u5e74 Ruby \u66fe\u7ecf\u706b\u8fc7\u4e00\u6bb5\u65f6\u95f4\uff0c\u8d21\u732e\u51fa Rails \u3001sass \u3001CoffeeScript \u7b49\u4e00\u4e9b\u601d\u60f3\u5148\u8fdb\u7684\u4f5c\u54c1\uff0c\u5bf9\u4e1a\u754c\u5f71\u54cd\u5f88\u5927\uff0c\u53ef\u60dc\u601d\u60f3\u88ab\u5b66\u8d70\u4e86\uff0c\u8bed\u8a00\u5374\u88ab\u9057\u5f03\u4e86\uff0cRuby \u53c8\u6c89\u5bc2\u4e0b\u53bb\u4e86\u3002 <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"7150727\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : otakustay <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>  <\/span> <\/div>\n<\/p><\/div>\n<div> antd \u7684\u6837\u5f0f\u4e5f\u6ca1\u590d\u6742\u5230\u54ea\u91cc\u53bb\uff0cless \u3001sass \u3001stylus \u90fd\u4e00\u6837\uff0c\u751a\u81f3\u5176\u5b9e\u653e\u73b0\u5728\u8d70 css var \u7684\u8bdd postcss \u5904\u7406\u5d4c\u5957\u4e5f\u591f\u7528\u4e86\uff0c\u57fa\u672c\u4e0a\u662f\u7231\u7528\u54ea\u4e2a\u7528\u54ea\u4e2a <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"7150728\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : zhaol <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>  <\/span> <\/div>\n<\/p><\/div>\n<div> node-sass \u662f\u771f\u6bd2\u7624 <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"7150729\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : yunye <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>  <\/span> <\/div>\n<\/p><\/div>\n<div> \u53c8\u4e0d\u662f\u4e0d\u80fd\u7528 <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"7150730\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : whypool <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>  <\/span> <\/div>\n<\/p><\/div>\n<div> \u6bd2\u7624\u73a9\u610f\uff0c\u5e26\u4e8c\u8fdb\u5236\u5305\u8fd8\u4e0d\u80fd\u968f\u4fbf\u62f7\u8d1d\uff0c\u751f\u4ea7\u7f16\u8bd1 90%\u662f\u8fd9\u73a9\u610f\u62a5\u9519\uff0c\u62f7\u8d1d\u8fc7\u53bb\u8fd8\u6709\u6743\u9650\u95ee\u9898\uff0c\u771f\u6bd2\u7624\uff0c\u5c3d\u5feb\u51c9\u5427 <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"7150731\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : zenben <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>  <\/span> <\/div>\n<\/p><\/div>\n<div> @lmqdlr nodess_cdnurl \u6307\u5b9a\u6dd8\u5b9d\u955c\u50cf\u6e90\u4e5f\u4e0d\u96be\u88c5 <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"7150732\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Perry <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>  <\/span> <\/div>\n<\/p><\/div>\n<div> \u5728\u56fd\u5916\u5de5\u4f5c\uff0c\u5927\u591a\u6570\u8fd8\u662f\u7528\u7684 sass\/scss <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"7150733\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : xingyuc <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>  <\/span> <\/div>\n<\/p><\/div>\n<div> \u4e0d\u662f\u6709 dart-sass \u4e86\u5417 <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"7150734\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : evilStart <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>  <\/span> <\/div>\n<\/p><\/div>\n<div> @changwei \u4f60\u770b\u4e00\u770b\u5b98\u65b9\u7f51\u7ad9\u4e0d\u5c31\u884c\u4e86\uff0c\u73b0\u5728\u53ea\u63a8\u8350\u7528 dart sass <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>\u4e3a\u4ec0\u4e48\u817e\u8baf\u548c\u963f\u91cc\u7684\u5f00\u6e90\u5e93\u4f7f\u7528 le&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/555689"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=555689"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/555689\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=555689"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=555689"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=555689"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}