{"id":1387,"date":"2025-02-06T23:53:00","date_gmt":"2025-02-06T15:53:00","guid":{"rendered":"https:\/\/www.laixuexila.com\/?p=1387"},"modified":"2025-02-06T23:53:01","modified_gmt":"2025-02-06T15:53:01","slug":"%e6%8e%8c%e6%8f%a1css%e5%93%8d%e5%ba%94%e5%bc%8f%e7%bd%91%e9%a1%b5%e8%ae%be%e8%ae%a1%ef%bc%9a%e5%85%a8%e9%9d%a2%e6%8c%87%e5%8d%97%e4%b8%8e%e5%ae%9e%e7%94%a8%e6%8a%80%e5%b7%a7","status":"publish","type":"post","link":"https:\/\/www.laixuexila.com\/index.php\/2025\/02\/06\/%e6%8e%8c%e6%8f%a1css%e5%93%8d%e5%ba%94%e5%bc%8f%e7%bd%91%e9%a1%b5%e8%ae%be%e8%ae%a1%ef%bc%9a%e5%85%a8%e9%9d%a2%e6%8c%87%e5%8d%97%e4%b8%8e%e5%ae%9e%e7%94%a8%e6%8a%80%e5%b7%a7\/","title":{"rendered":"\u638c\u63e1CSS\u54cd\u5e94\u5f0f\u7f51\u9875\u8bbe\u8ba1\uff1a\u5168\u9762\u6307\u5357\u4e0e\u5b9e\u7528\u6280\u5de7"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">\u4f7f\u7528 CSS \u638c\u63e1\u54cd\u5e94\u5f0f\u7f51\u9875\u8bbe\u8ba1\u662f\u524d\u7aef\u5f00\u53d1\u7684\u6838\u5fc3\u6280\u80fd\u4e4b\u4e00\u3002\u54cd\u5e94\u5f0f\u8bbe\u8ba1\uff08Responsive Design\uff09\u5141\u8bb8\u7f51\u9875\u6839\u636e\u8bbe\u5907\u7684\u4e0d\u540c\u5c4f\u5e55\u5c3a\u5bf8\u3001\u5206\u8fa8\u7387\u3001\u7a97\u53e3\u5927\u5c0f\u7b49\u6761\u4ef6\u81ea\u52a8\u8c03\u6574\u5e03\u5c40\u548c\u6837\u5f0f\uff0c\u786e\u4fdd\u65e0\u8bba\u5728\u624b\u673a\u3001\u5e73\u677f\u8fd8\u662f\u684c\u9762\u7aef\u90fd\u80fd\u63d0\u4f9b\u4f18\u8d28\u7684\u7528\u6237\u4f53\u9a8c\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u4e0b\u9762\u662f\u5b66\u4e60\u548c\u638c\u63e1 CSS \u54cd\u5e94\u5f0f\u8bbe\u8ba1\u7684\u5173\u952e\u65b9\u6cd5\uff1a<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">1. \u4e86\u89e3\u89c6\u53e3\uff08Viewport\uff09<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u89c6\u53e3\u662f\u6d4f\u89c8\u5668\u4e2d\u7528\u6237\u53ef\u4ee5\u770b\u5230\u7684\u533a\u57df\u3002\u5728\u54cd\u5e94\u5f0f\u8bbe\u8ba1\u4e2d\uff0c\u6700\u91cd\u8981\u7684\u662f\u786e\u4fdd\u7f51\u9875\u80fd\u591f\u9002\u5e94\u4e0d\u540c\u8bbe\u5907\u7684\u89c6\u53e3\u5927\u5c0f\u3002\u4f7f\u7528 <strong>meta \u6807\u7b7e<\/strong> \u6765\u8bbe\u7f6e\u89c6\u53e3\u662f\u5b9e\u73b0\u54cd\u5e94\u5f0f\u8bbe\u8ba1\u7684\u7b2c\u4e00\u6b65\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;!-- \u8bbe\u7f6e\u89c6\u53e3 --&gt;\n&lt;meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\"&gt;<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>width=device-width<\/code>\uff1a\u5c06\u89c6\u53e3\u5bbd\u5ea6\u8bbe\u7f6e\u4e3a\u8bbe\u5907\u7684\u5bbd\u5ea6\u3002<\/li>\n\n\n\n<li><code>initial-scale=1.0<\/code>\uff1a\u521d\u59cb\u7f29\u653e\u7ea7\u522b\u3002<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">\u8fd9\u6bb5\u4ee3\u7801\u786e\u4fdd\u7f51\u9875\u5728\u79fb\u52a8\u8bbe\u5907\u4e0a\u6b63\u786e\u663e\u793a\uff0c\u907f\u514d\u4e86\u9ed8\u8ba4\u7684\u684c\u9762\u6d4f\u89c8\u5668\u7f29\u653e\u95ee\u9898\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">2. \u5a92\u4f53\u67e5\u8be2\uff08Media Queries\uff09<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u5a92\u4f53\u67e5\u8be2\u662f\u5b9e\u73b0\u54cd\u5e94\u5f0f\u8bbe\u8ba1\u7684\u5173\u952e\u5de5\u5177\u3002\u5b83\u53ef\u4ee5\u6839\u636e\u4e0d\u540c\u7684\u8bbe\u5907\u7279\u6027\uff08\u5982\u5c4f\u5e55\u5bbd\u5ea6\u3001\u9ad8\u5ea6\u3001\u5206\u8fa8\u7387\u7b49\uff09\u5e94\u7528\u4e0d\u540c\u7684 CSS \u6837\u5f0f\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">\u4f7f\u7528\u5a92\u4f53\u67e5\u8be2\u8c03\u6574\u5e03\u5c40<\/h4>\n\n\n\n<pre class=\"wp-block-code\"><code>\/* \u9ed8\u8ba4\u6837\u5f0f\uff1a\u9002\u7528\u4e8e\u5927\u5c4f\u5e55\u8bbe\u5907\uff08\u5982\u684c\u9762\uff09 *\/\nbody {\n  font-family: Arial, sans-serif;\n  background-color: #f0f0f0;\n}\n\n.container {\n  width: 80%;\n  margin: 0 auto;\n}\n\n\/* \u9002\u7528\u4e8e\u5e73\u677f\uff08\u5c4f\u5e55\u5bbd\u5ea6 768px \u4ee5\u4e0b\uff09 *\/\n@media (max-width: 768px) {\n  .container {\n    width: 90%;\n  }\n}\n\n\/* \u9002\u7528\u4e8e\u624b\u673a\uff08\u5c4f\u5e55\u5bbd\u5ea6 480px \u4ee5\u4e0b\uff09 *\/\n@media (max-width: 480px) {\n  .container {\n    width: 100%;\n    padding: 10px;\n  }\n}<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u5728\u4e0a\u9762\u7684\u4ee3\u7801\u4e2d\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u9ed8\u8ba4\u6837\u5f0f\u9002\u7528\u4e8e\u5927\u5c4f\u8bbe\u5907\uff0c\u5bb9\u5668\u5bbd\u5ea6\u8bbe\u7f6e\u4e3a <code>80%<\/code>\uff0c\u5e76\u5c45\u4e2d\u663e\u793a\u3002<\/li>\n\n\n\n<li>\u5f53\u5c4f\u5e55\u5bbd\u5ea6\u5c0f\u4e8e <code>768px<\/code> \u65f6\uff0c\u9002\u7528\u4e8e\u5e73\u677f\u8bbe\u5907\uff0c\u5bb9\u5668\u5bbd\u5ea6\u589e\u52a0\u5230 <code>90%<\/code>\u3002<\/li>\n\n\n\n<li>\u5f53\u5c4f\u5e55\u5bbd\u5ea6\u5c0f\u4e8e <code>480px<\/code> \u65f6\uff0c\u9002\u7528\u4e8e\u624b\u673a\u8bbe\u5907\uff0c\u5bb9\u5668\u5bbd\u5ea6\u8bbe\u7f6e\u4e3a <code>100%<\/code>\uff0c\u5e76\u6dfb\u52a0\u4e00\u4e9b\u5185\u8fb9\u8ddd\u3002<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">\u5a92\u4f53\u67e5\u8be2\u7684\u5e38\u89c1\u65ad\u70b9<\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u624b\u673a\uff08\u5c0f\u5c4f\u5e55\uff09<\/strong>\uff1a<code>max-width: 480px<\/code><\/li>\n\n\n\n<li><strong>\u5e73\u677f\uff08\u4e2d\u5c4f\u5e55\uff09<\/strong>\uff1a<code>max-width: 768px<\/code><\/li>\n\n\n\n<li><strong>\u684c\u9762\uff08\u5927\u5c4f\u5e55\uff09<\/strong>\uff1a<code>min-width: 1024px<\/code><\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">\u8fd9\u4e9b\u662f\u5e38\u89c1\u7684\u5c4f\u5e55\u5bbd\u5ea6\u65ad\u70b9\uff0c\u4f46\u53ef\u4ee5\u6839\u636e\u5177\u4f53\u9879\u76ee\u9700\u6c42\u8fdb\u884c\u8c03\u6574\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">3. \u5f39\u6027\u5e03\u5c40\uff08Flexbox\uff09<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Flexbox \u662f\u4e00\u79cd\u73b0\u4ee3\u7684\u5e03\u5c40\u65b9\u5f0f\uff0c\u80fd\u591f\u5e2e\u52a9\u4f60\u521b\u5efa\u54cd\u5e94\u5f0f\u548c\u81ea\u9002\u5e94\u7684\u5e03\u5c40\u3002\u5b83\u53ef\u4ee5\u975e\u5e38\u65b9\u4fbf\u5730\u7ba1\u7406\u5bb9\u5668\u5185\u7684\u9879\u76ee\u5143\u7d20\uff0c\u9002\u5408\u7528\u4e8e\u54cd\u5e94\u5f0f\u8bbe\u8ba1\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">\u4f7f\u7528 Flexbox \u521b\u5efa\u81ea\u9002\u5e94\u5e03\u5c40<\/h4>\n\n\n\n<pre class=\"wp-block-code\"><code>\/* \u7236\u5bb9\u5668 *\/\n.container {\n  display: flex;\n  flex-wrap: wrap; \/* \u5141\u8bb8\u5b50\u5143\u7d20\u6362\u884c *\/\n  justify-content: space-between;\n}\n\n\/* \u5b50\u5143\u7d20 *\/\n.item {\n  width: 30%;\n  margin: 10px;\n}\n\n@media (max-width: 768px) {\n  .item {\n    width: 45%; \/* \u5e73\u677f\u8bbe\u5907\u4e0a\u6bcf\u884c\u663e\u793a\u4e24\u4e2a\u9879\u76ee *\/\n  }\n}\n\n@media (max-width: 480px) {\n  .item {\n    width: 100%; \/* \u624b\u673a\u8bbe\u5907\u4e0a\u6bcf\u884c\u663e\u793a\u4e00\u4e2a\u9879\u76ee *\/\n  }\n}<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u4f7f\u7528 <code>display: flex<\/code> \u548c <code>flex-wrap: wrap<\/code> \u4f7f\u5b50\u5143\u7d20\u81ea\u52a8\u6362\u884c\u3002<\/li>\n\n\n\n<li>\u4f7f\u7528\u5a92\u4f53\u67e5\u8be2\u6839\u636e\u5c4f\u5e55\u5bbd\u5ea6\u8c03\u6574\u6bcf\u4e2a\u9879\u76ee\u7684\u5bbd\u5ea6\uff0c\u786e\u4fdd\u5e03\u5c40\u5728\u4e0d\u540c\u8bbe\u5907\u4e0a\u81ea\u9002\u5e94\u3002<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">4. \u7f51\u683c\u5e03\u5c40\uff08CSS Grid\uff09<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">CSS Grid \u662f\u53e6\u4e00\u79cd\u73b0\u4ee3\u7684\u5e03\u5c40\u5de5\u5177\uff0c\u9002\u7528\u4e8e\u66f4\u590d\u6742\u7684\u5e03\u5c40\u7ed3\u6784\u3002\u5b83\u5141\u8bb8\u4f60\u4f7f\u7528\u7f51\u683c\u7cfb\u7edf\u6765\u521b\u5efa\u7075\u6d3b\u7684\u3001\u54cd\u5e94\u5f0f\u7684\u7f51\u9875\u5e03\u5c40\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">\u4f7f\u7528 Grid \u521b\u5efa\u54cd\u5e94\u5f0f\u5e03\u5c40<\/h4>\n\n\n\n<pre class=\"wp-block-code\"><code>\/* \u57fa\u672c\u7f51\u683c\u5e03\u5c40 *\/\n.container {\n  display: grid;\n  grid-template-columns: repeat(3, 1fr); \/* \u4e09\u5217 *\/\n  gap: 20px;\n}\n\n.item {\n  background-color: lightblue;\n  padding: 20px;\n}\n\n@media (max-width: 768px) {\n  .container {\n    grid-template-columns: repeat(2, 1fr); \/* \u5e73\u677f\u8bbe\u5907\u4e0a\u4e24\u5217 *\/\n  }\n}\n\n@media (max-width: 480px) {\n  .container {\n    grid-template-columns: 1fr; \/* \u624b\u673a\u8bbe\u5907\u4e0a\u5355\u5217 *\/\n  }\n}<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u4f7f\u7528 <code>grid-template-columns: repeat(3, 1fr)<\/code> \u521b\u5efa\u4e09\u5217\u5e03\u5c40\u3002<\/li>\n\n\n\n<li>\u4f7f\u7528 <code>@media<\/code> \u5a92\u4f53\u67e5\u8be2\u8c03\u6574\u4e0d\u540c\u8bbe\u5907\u4e0a\u7684\u5217\u6570\uff0c\u4fdd\u8bc1\u5e03\u5c40\u5728\u5404\u79cd\u5c4f\u5e55\u4e0a\u90fd\u80fd\u9002\u914d\u3002<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">5. \u4f7f\u7528\u5f39\u6027\u5355\u4f4d\uff08em, rem, %, vh, vw\uff09<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u4e3a\u4e86\u4f7f\u5143\u7d20\u5927\u5c0f\u548c\u5e03\u5c40\u81ea\u9002\u5e94\u4e0d\u540c\u7684\u5c4f\u5e55\u5c3a\u5bf8\uff0c\u53ef\u4ee5\u4f7f\u7528 <strong>\u76f8\u5bf9\u5355\u4f4d<\/strong>\u3002\u8fd9\u4e9b\u5355\u4f4d\u53ef\u4ee5\u8ba9\u7f51\u9875\u5728\u4e0d\u540c\u5206\u8fa8\u7387\u548c\u5c4f\u5e55\u5c3a\u5bf8\u4e0b\u66f4\u52a0\u7075\u6d3b\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>em<\/code> \u548c <code>rem<\/code>\uff1a\u57fa\u4e8e\u7236\u5143\u7d20\u548c\u6839\u5143\u7d20\u7684\u5b57\u4f53\u5927\u5c0f\uff0c\u9002\u5408\u8fdb\u884c\u5b57\u4f53\u5927\u5c0f\u548c\u95f4\u8ddd\u7684\u76f8\u5bf9\u5e03\u5c40\u3002<\/li>\n\n\n\n<li><code>%<\/code>\uff1a\u57fa\u4e8e\u7236\u5143\u7d20\u7684\u5bbd\u5ea6\u6216\u9ad8\u5ea6\uff0c\u9002\u5408\u7528\u4e8e\u6d41\u5f0f\u5e03\u5c40\u3002<\/li>\n\n\n\n<li><code>vh<\/code> \u548c <code>vw<\/code>\uff1a\u57fa\u4e8e\u89c6\u53e3\u7684\u9ad8\u5ea6\u548c\u5bbd\u5ea6\uff0c\u9002\u5408\u4e8e\u5168\u5c4f\u5e03\u5c40\u6216\u52a8\u6001\u5143\u7d20\u3002<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">\u793a\u4f8b\uff1a\u4f7f\u7528\u76f8\u5bf9\u5355\u4f4d\u8fdb\u884c\u54cd\u5e94\u5f0f\u5e03\u5c40<\/h4>\n\n\n\n<pre class=\"wp-block-code\"><code>body {\n  font-size: 16px; \/* \u57fa\u7840\u5b57\u4f53\u5927\u5c0f *\/\n}\n\n.container {\n  width: 80%;\n  margin: 0 auto;\n  padding: 2rem;\n}\n\n@media (max-width: 768px) {\n  body {\n    font-size: 14px; \/* \u5728\u5e73\u677f\u8bbe\u5907\u4e0a\u51cf\u5c0f\u5b57\u4f53 *\/\n  }\n  .container {\n    width: 90%; \/* \u5728\u5c0f\u5c4f\u8bbe\u5907\u4e0a\u589e\u5927\u5bb9\u5668\u5bbd\u5ea6 *\/\n  }\n}\n\n@media (max-width: 480px) {\n  body {\n    font-size: 12px; \/* \u5728\u624b\u673a\u8bbe\u5907\u4e0a\u8fdb\u4e00\u6b65\u51cf\u5c0f\u5b57\u4f53 *\/\n  }\n  .container {\n    width: 100%;\n    padding: 1rem;\n  }\n}<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">6. \u6d41\u5f0f\u5e03\u5c40<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u6d41\u5f0f\u5e03\u5c40\uff08Fluid Layout\uff09\u662f\u57fa\u4e8e\u767e\u5206\u6bd4\u7684\u5e03\u5c40\u65b9\u5f0f\uff0c\u901a\u8fc7\u4f7f\u7528\u767e\u5206\u6bd4\u5bbd\u5ea6\uff0c\u4f7f\u9875\u9762\u5143\u7d20\u53ef\u4ee5\u6839\u636e\u6d4f\u89c8\u5668\u7a97\u53e3\u7684\u5927\u5c0f\u81ea\u52a8\u8c03\u6574\u5c3a\u5bf8\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">\u793a\u4f8b\uff1a\u4f7f\u7528\u6d41\u5f0f\u5e03\u5c40<\/h4>\n\n\n\n<pre class=\"wp-block-code\"><code>.container {\n  width: 80%; \/* \u4f7f\u7528\u767e\u5206\u6bd4\u5bbd\u5ea6 *\/\n  margin: 0 auto;\n}\n\n.item {\n  width: 48%; \/* \u5bbd\u5ea6\u4e3a\u7236\u5bb9\u5668\u7684 48% *\/\n  margin: 10px 0;\n}\n\n@media (max-width: 768px) {\n  .item {\n    width: 100%; \/* \u5c4f\u5e55\u5bbd\u5ea6\u5c0f\u4e8e 768px \u65f6\u6bcf\u884c\u663e\u793a\u4e00\u4e2a\u9879\u76ee *\/\n  }\n}<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">7. \u6700\u4f73\u5b9e\u8df5\u603b\u7ed3<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>\u4f7f\u7528\u5a92\u4f53\u67e5\u8be2<\/strong>\uff1a\u6839\u636e\u5c4f\u5e55\u5bbd\u5ea6\u548c\u8bbe\u5907\u7279\u6027\u6765\u5b9a\u4e49\u4e0d\u540c\u7684\u5e03\u5c40\u548c\u6837\u5f0f\u3002<\/li>\n\n\n\n<li><strong>\u91c7\u7528\u5f39\u6027\u5e03\u5c40<\/strong>\uff08Flexbox\uff09\u548c <strong>\u7f51\u683c\u5e03\u5c40<\/strong>\uff08CSS Grid\uff09\uff1a\u8fd9\u4e24\u79cd\u5e03\u5c40\u65b9\u6cd5\u80fd\u591f\u5e2e\u52a9\u4f60\u66f4\u8f7b\u677e\u5730\u5b9e\u73b0\u54cd\u5e94\u5f0f\u8bbe\u8ba1\u3002<\/li>\n\n\n\n<li><strong>\u4f7f\u7528\u76f8\u5bf9\u5355\u4f4d<\/strong>\uff1a\u901a\u8fc7\u4f7f\u7528 <code>em<\/code>\u3001<code>rem<\/code>\u3001<code>%<\/code>\u3001<code>vh<\/code> \u548c <code>vw<\/code> \u7b49\u76f8\u5bf9\u5355\u4f4d\uff0c\u786e\u4fdd\u5e03\u5c40\u548c\u5b57\u4f53\u7684\u7075\u6d3b\u6027\u3002<\/li>\n\n\n\n<li><strong>\u4f18\u5316\u52a0\u8f7d\u901f\u5ea6<\/strong>\uff1a\u4f7f\u7528\u5408\u9002\u7684\u56fe\u7247\u683c\u5f0f\uff08\u5982 WebP\uff09\u548c\u54cd\u5e94\u5f0f\u56fe\u50cf\uff08<code>srcset<\/code> \u548c <code>sizes<\/code>\uff09\u6765\u4f18\u5316\u52a0\u8f7d\u6027\u80fd\u3002<\/li>\n\n\n\n<li><strong>\u6d4b\u8bd5\u4e0d\u540c\u8bbe\u5907<\/strong>\uff1a\u5728\u5b9e\u9645\u5f00\u53d1\u4e2d\uff0c\u52a1\u5fc5\u901a\u8fc7\u591a\u79cd\u8bbe\u5907\u8fdb\u884c\u6d4b\u8bd5\uff0c\u786e\u4fdd\u8bbe\u8ba1\u6548\u679c\u5728\u4e0d\u540c\u5c4f\u5e55\u4e0a\u5747\u80fd\u6d41\u7545\u5448\u73b0\u3002<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">\u901a\u8fc7\u8fd9\u4e9b\u65b9\u6cd5\uff0c\u4f60\u53ef\u4ee5\u638c\u63e1\u54cd\u5e94\u5f0f\u8bbe\u8ba1\u7684\u6838\u5fc3\u6280\u672f\uff0c\u5e76\u521b\u5efa\u9002\u5e94\u5404\u79cd\u8bbe\u5907\u7684\u7f51\u9875\uff0c\u4ece\u800c\u63d0\u5347\u7528\u6237\u4f53\u9a8c\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4f7f\u7528 CSS \u638c\u63e1\u54cd\u5e94\u5f0f\u7f51\u9875\u8bbe\u8ba1\u662f\u524d\u7aef\u5f00\u53d1\u7684\u6838\u5fc3\u6280\u80fd\u4e4b\u4e00\u3002\u54cd\u5e94\u5f0f\u8bbe\u8ba1\uff08Responsive Design\uff09\u5141\u8bb8 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[55],"tags":[],"class_list":["post-1387","post","type-post","status-publish","format-standard","hentry","category-css"],"_links":{"self":[{"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/posts\/1387","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/comments?post=1387"}],"version-history":[{"count":1,"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/posts\/1387\/revisions"}],"predecessor-version":[{"id":1388,"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/posts\/1387\/revisions\/1388"}],"wp:attachment":[{"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/media?parent=1387"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/categories?post=1387"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/tags?post=1387"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}