{"id":20681,"date":"2024-11-19T16:00:25","date_gmt":"2024-11-19T08:00:25","guid":{"rendered":"https:\/\/fwq.ai\/blog\/20681\/"},"modified":"2024-11-19T16:00:25","modified_gmt":"2024-11-19T08:00:25","slug":"sublime%e6%80%8e%e4%b9%88%e8%bf%90%e8%a1%8ccss","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/20681\/","title":{"rendered":"sublime\u600e\u4e48\u8fd0\u884ccss"},"content":{"rendered":"<blockquote><p>\n  \u8981\u5728 sublime \u4e2d\u8fd0\u884c css\uff1a\u5b89\u88c5 node.js\u3002\u5b89\u88c5 live-server \u4f9d\u8d56\u9879\u3002\u521b\u5efa\u4e00\u4e2a\u5e26\u6709 .css \u6269\u5c55\u540d\u7684\u6587\u4ef6\u3002\u7f16\u5199 css \u4ee3\u7801\u3002\u8fd0\u884c live-server \u547d\u4ee4\u3002\u9884\u89c8\u7ed3\u679c\uff0c\u5e76\u5728\u6d4f\u89c8\u5668\u4e2d\u5b9e\u65f6\u67e5\u770b\u66f4\u6539\u3002\n<\/p><\/blockquote>\n<p><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/article\/202404\/03\/2024040312391848351.jpg\" class=\"aligncenter\" title=\"sublime\u600e\u4e48\u8fd0\u884ccss\u63d2\u56fe\" alt=\"sublime\u600e\u4e48\u8fd0\u884ccss\u63d2\u56fe\" \/><\/p>\n<p><strong>\u5982\u4f55\u5728 Sublime \u4e2d\u8fd0\u884c CSS<\/strong><\/p>\n<p>\u8981\u4f7f\u7528 Sublime Text \u8fd0\u884c CSS\uff0c\u4f60\u53ef\u4ee5\u6309\u7167\u4ee5\u4e0b\u6b65\u9aa4\u64cd\u4f5c\uff1a<\/p>\n<p><strong>1. \u5b89\u88c5 Node.js<\/strong><\/p>\n<ul>\n<li>\u524d\u5f80 Node.js \u5b98\u65b9\u7f51\u7ad9 https:\/\/nodejs.org\/ \u4e0b\u8f7d\u5e76\u5b89\u88c5 Node.js\u3002<\/li>\n<\/ul>\n<p><strong>2. \u5b89\u88c5\u4f9d\u8d56\u9879<\/strong><\/p>\n<p><span>\u7acb\u5373\u5b66\u4e60<\/span>\u201c\u201d\uff1b<\/p>\n<ul>\n<li>\u6253\u5f00 Sublime Text \u7ec8\u7aef\uff08\u5feb\u6377\u952e\uff1aCtrl\/Cmd + `\uff09\u3002<\/li>\n<li>\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\u5b89\u88c5\u4f9d\u8d56\u9879\uff1anpm install -g live-server\u3002<\/li>\n<\/ul>\n<p><strong>3. \u521b\u5efa CSS \u6587\u4ef6<\/strong><\/p>\n<ul>\n<li>\u5728 Sublime Text \u4e2d\u521b\u5efa\u4e00\u4e2a\u65b0\u7684\u6587\u4ef6\uff0c\u5e76\u4f7f\u7528 .css \u4f5c\u4e3a\u6269\u5c55\u540d\u3002<\/li>\n<\/ul>\n<p><strong>4. \u7f16\u5199 CSS \u4ee3\u7801<\/strong><\/p>\n<ul>\n<li>\u5728\u6587\u4ef6\u4e2d\u7f16\u5199\u4f60\u7684 CSS \u4ee3\u7801\u3002<\/li>\n<\/ul>\n<p><strong>5. \u8fd0\u884c CSS<\/strong><\/p>\n<ul>\n<li>\u6253\u5f00 Sublime Text \u7ec8\u7aef\uff0c\u5e76\u5207\u6362\u5230 CSS \u6587\u4ef6\u6240\u5728\u7684\u76ee\u5f55\u3002<\/li>\n<li>\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\u8fd0\u884c CSS\uff1alive-server\u3002<\/li>\n<\/ul>\n<p><strong>6. \u9884\u89c8\u7ed3\u679c<\/strong><\/p>\n<ul>\n<li>\u8fd0\u884c live-server \u547d\u4ee4\u540e\uff0c\u5c06\u5728\u9ed8\u8ba4\u6d4f\u89c8\u5668\u4e2d\u6253\u5f00\u4e00\u4e2a\u9884\u89c8\u7a97\u53e3\uff0c\u663e\u793a\u5e94\u7528\u4e86 CSS \u6837\u5f0f\u7684 HTML \u6587\u4ef6\u3002\u66f4\u6539 CSS \u6587\u4ef6\u5e76\u4fdd\u5b58\uff0c\u6d4f\u89c8\u5668\u4e2d\u7684\u9884\u89c8\u4e5f\u4f1a\u81ea\u52a8\u66f4\u65b0\u3002<\/li>\n<\/ul>\n<p>\u4ee5\u4e0a\u5c31\u662f\u600e\u4e48\u8fd0\u884ccss\u7684\u8be6\u7ec6\u5185\u5bb9\uff0c\u66f4\u591a\u8bf7\u5173\u6ce8\u7c73\u4e91\u5176\u5b83\u76f8\u5173\u6587\u7ae0\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u8981\u5728 sublime \u4e2d\u8fd0\u884c css\uff1a\u5b89\u88c5 node.js\u3002\u5b89\u88c5 live-server \u4f9d\u8d56\u9879\u3002\u521b\u5efa\u4e00\u4e2a\u5e26\u6709 .css \u6269\u5c55\u540d\u7684\u6587\u4ef6\u3002\u7f16\u5199 css \u4ee3\u7801\u3002\u8fd0\u884c live-server \u547d\u4ee4\u3002\u9884\u89c8\u7ed3\u679c\uff0c\u5e76\u5728\u6d4f\u89c8\u5668\u4e2d\u5b9e\u65f6\u67e5\u770b\u66f4\u6539\u3002 \u5982\u4f55\u5728 Sublime \u4e2d\u8fd0\u884c CSS \u8981\u4f7f\u7528 Sublime Text \u8fd0\u884c CSS\uff0c\u4f60\u53ef\u4ee5\u6309\u7167\u4ee5\u4e0b\u6b65\u9aa4\u64cd\u4f5c\uff1a 1. \u5b89\u88c5 Node.js \u524d\u5f80 Node.js \u5b98\u65b9\u7f51\u7ad9 https:\/\/nodejs.org\/ \u4e0b\u8f7d\u5e76\u5b89\u88c5 Node.js\u3002 2. \u5b89\u88c5\u4f9d\u8d56\u9879 \u7acb\u5373\u5b66\u4e60\u201c\u201d\uff1b \u6253\u5f00 Sublime Text \u7ec8\u7aef\uff08\u5feb\u6377\u952e\uff1aCtrl\/Cmd + `\uff09\u3002 \u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\u5b89\u88c5\u4f9d\u8d56\u9879\uff1anpm install -g live-server\u3002 3. \u521b\u5efa CSS \u6587\u4ef6 \u5728 Sublime Text \u4e2d\u521b\u5efa\u4e00\u4e2a\u65b0\u7684\u6587\u4ef6\uff0c\u5e76\u4f7f\u7528 .css \u4f5c\u4e3a\u6269\u5c55\u540d\u3002 4. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[],"class_list":["post-20681","post","type-post","status-publish","format-standard","hentry","category-16"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/20681","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/comments?post=20681"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/20681\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=20681"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=20681"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=20681"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}