{"id":191,"date":"2026-07-01T10:34:04","date_gmt":"2026-07-01T02:34:04","guid":{"rendered":"https:\/\/yykcj.com\/?p=191"},"modified":"2026-07-01T10:34:04","modified_gmt":"2026-07-01T02:34:04","slug":"css-container-queries-%e5%ae%9e%e6%88%98%ef%bc%9a%e4%bb%8e%e9%9b%b6%e6%9e%84%e5%bb%ba%e8%87%aa%e9%80%82%e5%ba%94%e7%bb%84%e4%bb%b6%e7%b3%bb%e7%bb%9f","status":"publish","type":"post","link":"https:\/\/yykcj.com\/?p=191","title":{"rendered":"CSS Container Queries \u5b9e\u6218\uff1a\u4ece\u96f6\u6784\u5efa\u81ea\u9002\u5e94\u7ec4\u4ef6\u7cfb\u7edf"},"content":{"rendered":"<h1>CSS Container Queries \u5b9e\u6218\uff1a\u4ece\u96f6\u6784\u5efa\u81ea\u9002\u5e94\u7ec4\u4ef6\u7cfb\u7edf<\/h1>\n<h2>\u5f15\u8a00<\/h2>\n<p>\u4f20\u7edf\u54cd\u5e94\u5f0f\u8bbe\u8ba1\u4f9d\u8d56\u5a92\u4f53\u67e5\u8be2\uff08Media Queries\uff09\uff0c\u4ee5\u89c6\u53e3\uff08viewport\uff09\u5c3a\u5bf8\u4e3a\u65ad\u70b9\u3002\u4f46\u5728\u7ec4\u4ef6\u5316\u5f00\u53d1\u7684\u4eca\u5929\uff0c\u540c\u4e00\u4e2a\u7ec4\u4ef6\u53ef\u80fd\u51fa\u73b0\u5728\u4fa7\u8fb9\u680f\u3001\u4e3b\u5185\u5bb9\u533a\u6216\u5f39\u7a97\u4e2d\uff0c\u4ec5\u9760\u89c6\u53e3\u65e0\u6cd5\u51c6\u786e\u5224\u65ad\u7ec4\u4ef6\u5b9e\u9645\u53ef\u7528\u7a7a\u95f4\u3002CSS Container Queries \u5e94\u8fd0\u800c\u751f\uff0c\u5b83\u5141\u8bb8\u6211\u4eec\u6839\u636e\u7236\u5bb9\u5668\uff08container\uff09\u7684\u5c3a\u5bf8\u6765\u8c03\u6574\u5b50\u5143\u7d20\u7684\u6837\u5f0f\uff0c\u771f\u6b63\u5b9e\u73b0\u201c\u7ec4\u4ef6\u7ea7\u54cd\u5e94\u5f0f\u201d\u3002<\/p>\n<p>\u672c\u6587\u5c06\u901a\u8fc7\u4e00\u4e2a\u53ef\u590d\u7528\u7684\u5361\u7247\u7ec4\u4ef6\u548c\u4e00\u4e2a\u4eea\u8868\u76d8\u5e03\u5c40\uff0c\u624b\u628a\u624b\u5e26\u4f60\u638c\u63e1 Container Queries \u7684\u6838\u5fc3\u7528\u6cd5\u3001\u5e38\u89c1\u9677\u9631\u53ca\u9ad8\u7ea7\u6280\u5de7\u3002<\/p>\n<h2>\u524d\u7f6e\u77e5\u8bc6<\/h2>\n<ul>\n<li>\u719f\u6089 CSS Flexbox \u548c Grid<\/li>\n<li>\u4e86\u89e3\u5a92\u4f53\u67e5\u8be2\u57fa\u672c\u8bed\u6cd5<\/li>\n<li>\u672c\u6587\u793a\u4f8b\u4f7f\u7528\u73b0\u4ee3\u6d4f\u89c8\u5668\uff08Chrome 105+\u3001Safari 16+\u3001Firefox 110+\uff09<\/li>\n<\/ul>\n<h2>\u7b2c\u4e00\u6b65\uff1a\u7406\u89e3 Container Queries \u57fa\u7840<\/h2>\n<p>Container Queries \u5305\u542b\u4e09\u4e2a\u6838\u5fc3\u6982\u5ff5\uff1a<\/p>\n<ol>\n<li><strong>container-type<\/strong>\uff1a\u5b9a\u4e49\u5bb9\u5668\u7c7b\u578b\uff08size \/ inline-size \/ normal\uff09<\/li>\n<\/ol>\n<p>&#8211; <code>size<\/code>\uff1a\u540c\u65f6\u76d1\u542c\u5bbd\u9ad8\u53d8\u5316 &#8211; <code>inline-size<\/code>\uff1a\u4ec5\u76d1\u542c\u5185\u8054\u65b9\u5411\uff08\u901a\u5e38\u4e3a\u5bbd\u5ea6\uff09\u53d8\u5316\uff0c\u6027\u80fd\u66f4\u4f18 &#8211; <code>normal<\/code>\uff1a\u4ec5\u7528\u4e8e\u6837\u5f0f\u9694\u79bb\uff0c\u4e0d\u542f\u7528\u67e5\u8be2<\/p>\n<ol>\n<li><strong>container-name<\/strong>\uff1a\u4e3a\u5bb9\u5668\u547d\u540d\uff0c\u4fbf\u4e8e\u591a\u4e2a\u5bb9\u5668\u533a\u5206<\/li>\n<li><strong>@container<\/strong>\uff1a\u7c7b\u4f3c <code>@media<\/code>\uff0c\u6839\u636e\u5bb9\u5668\u5c3a\u5bf8\u5e94\u7528\u6837\u5f0f<\/li>\n<\/ol>\n<h3>\u6700\u5c0f\u793a\u4f8b<\/h3>\n<pre><code class=\"language-html\">\n&lt;div class=&quot;card-container&quot;&gt;\n  &lt;div class=&quot;card&quot;&gt;\n    &lt;h2&gt;Card Title&lt;\/h2&gt;\n    &lt;p&gt;Card content goes here. This component adapts to its container width.&lt;\/p&gt;\n  &lt;\/div&gt;\n&lt;\/div&gt;\n<\/code><\/pre>\n<pre><code class=\"language-css\">\n.card-container {\n  container-type: inline-size;\n  container-name: card;\n}\n\n@container card (max-width: 400px) {\n  .card {\n    flex-direction: column;\n    padding: 1rem;\n  }\n  .card h2 {\n    font-size: 1.2rem;\n  }\n}\n\n@container card (min-width: 401px) {\n  .card {\n    flex-direction: row;\n    align-items: center;\n  }\n  .card h2 {\n    font-size: 1.5rem;\n  }\n}\n<\/code><\/pre>\n<p>\u5f53 <code>.card-container<\/code> \u5bbd\u5ea6\u5c0f\u4e8e\u7b49\u4e8e 400px \u65f6\uff0c\u5361\u7247\u5185\u5143\u7d20\u5782\u76f4\u6392\u5217\uff1b\u5927\u4e8e 400px \u65f6\u6c34\u5e73\u6392\u5217\u3002<\/p>\n<h2>\u7b2c\u4e8c\u6b65\uff1a\u6784\u5efa\u4e00\u4e2a\u5b8c\u6574\u7684\u54cd\u5e94\u5f0f\u5361\u7247\u7ec4\u4ef6<\/h2>\n<p>\u6211\u4eec\u5c06\u521b\u5efa\u4e00\u4e2a\u529f\u80fd\u5b8c\u6574\u7684\u5361\u7247\u7ec4\u4ef6\uff0c\u5305\u542b\u56fe\u7247\u3001\u6807\u9898\u3001\u63cf\u8ff0\u548c\u6309\u94ae\uff0c\u6839\u636e\u5bb9\u5668\u5bbd\u5ea6\u5c55\u793a\u4e09\u79cd\u5e03\u5c40\uff1a\u7d27\u51d1\uff08\u5355\u5217\uff09\u3001\u5e38\u89c4\uff08\u53cc\u5217\uff09\u548c\u5bbd\u5c4f\uff08\u56fe\u7247\u4e0e\u5185\u5bb9\u5de6\u53f3\u5206\u5e03\uff09\u3002<\/p>\n<h3>HTML \u7ed3\u6784<\/h3>\n<pre><code class=\"language-html\">\n&lt;div class=&quot;card-wrapper&quot;&gt;\n  &lt;div class=&quot;card-component&quot;&gt;\n    &lt;img src=&quot;https:\/\/via.placeholder.com\/400x300&quot; alt=&quot;Placeholder&quot; class=&quot;card-image&quot;&gt;\n    &lt;div class=&quot;card-body&quot;&gt;\n      &lt;h2 class=&quot;card-title&quot;&gt;Container Queries \u5b9e\u6218&lt;\/h2&gt;\n      &lt;p class=&quot;card-desc&quot;&gt;\u5b66\u4e60\u5982\u4f55\u6839\u636e\u5bb9\u5668\u5c3a\u5bf8\u52a8\u6001\u8c03\u6574\u5e03\u5c40\u3002&lt;\/p&gt;\n      &lt;button class=&quot;card-btn&quot;&gt;\u4e86\u89e3\u66f4\u591a&lt;\/button&gt;\n    &lt;\/div&gt;\n  &lt;\/div&gt;\n&lt;\/div&gt;\n<\/code><\/pre>\n<h3>CSS \u57fa\u7840\u6837\u5f0f<\/h3>\n<pre><code class=\"language-css\">\n.card-wrapper {\n  container-type: inline-size;\n  container-name: card;\n  width: 100%; \/* \u7531\u7236\u5bb9\u5668\u51b3\u5b9a *\/\n}\n\n.card-component {\n  display: flex;\n  flex-direction: column;\n  border: 1px solid #ccc;\n  border-radius: 8px;\n  overflow: hidden;\n  transition: all 0.3s ease;\n}\n\n.card-image {\n  width: 100%;\n  height: auto;\n  object-fit: cover;\n}\n\n.card-body {\n  padding: 1rem;\n  display: flex;\n  flex-direction: column;\n  gap: 0.5rem;\n}\n\n.card-title {\n  margin: 0;\n  font-size: 1.25rem;\n}\n\n.card-desc {\n  color: #555;\n  line-height: 1.5;\n}\n\n.card-btn {\n  align-self: flex-start;\n  padding: 0.5rem 1rem;\n  background: #007bff;\n  color: white;\n  border: none;\n  border-radius: 4px;\n  cursor: pointer;\n}\n<\/code><\/pre>\n<h3>Container Queries \u65ad\u70b9\u8bbe\u8ba1<\/h3>\n<p>\u6211\u4eec\u5b9a\u4e49\u4e09\u4e2a\u65ad\u70b9\uff1a<\/p>\n<ul>\n<li><strong>\u7d27\u51d1\u6a21\u5f0f<\/strong>\uff1a\u5bb9\u5668\u5bbd\u5ea6 \u2264 300px\uff0c\u56fe\u7247\u5728\u4e0a\uff0c\u6587\u5b57\u5728\u4e0b\uff0c\u6309\u94ae\u5168\u5bbd<\/li>\n<li><strong>\u5e38\u89c4\u6a21\u5f0f<\/strong>\uff1a301px ~ 600px\uff0c\u4fdd\u6301\u5355\u5217\u4f46\u589e\u52a0\u5185\u8fb9\u8ddd<\/li>\n<li><strong>\u5bbd\u5c4f\u6a21\u5f0f<\/strong>\uff1a> 600px\uff0c\u56fe\u7247\u548c\u5185\u5bb9\u5de6\u53f3\u6392\u5217<\/li>\n<\/ul>\n<pre><code class=\"language-css\">\n\/* \u7d27\u51d1\u6a21\u5f0f *\/\n@container card (max-width: 300px) {\n  .card-component {\n    flex-direction: column;\n  }\n  .card-image {\n    max-height: 150px;\n  }\n  .card-btn {\n    width: 100%;\n    text-align: center;\n  }\n}\n\n\/* \u5e38\u89c4\u6a21\u5f0f *\/\n@container card (min-width: 301px) and (max-width: 600px) {\n  .card-component {\n    flex-direction: column;\n  }\n  .card-image {\n    max-height: 200px;\n  }\n  .card-body {\n    padding: 1.5rem;\n  }\n}\n\n\/* \u5bbd\u5c4f\u6a21\u5f0f *\/\n@container card (min-width: 601px) {\n  .card-component {\n    flex-direction: row;\n  }\n  .card-image {\n    width: 40%;\n    max-height: none;\n  }\n  .card-body {\n    flex: 1;\n    justify-content: center;\n  }\n}\n<\/code><\/pre>\n<p>> <strong>\u6ce8\u610f<\/strong>\uff1aContainer Queries \u4e2d\u4e0d\u80fd\u4f7f\u7528 <code>vw<\/code>\u3001<code>vh<\/code> \u7b49\u89c6\u53e3\u5355\u4f4d\uff0c\u56e0\u4e3a\u5b83\u4eec\u76f8\u5bf9\u4e8e\u5bb9\u5668\u65e0\u6548\u3002\u5982\u679c\u9700\u8981\u76f8\u5bf9\u5927\u5c0f\uff0c\u4f7f\u7528\u767e\u5206\u6bd4\u6216 <code>cqw<\/code> \u7b49\u5bb9\u5668\u67e5\u8be2\u5355\u4f4d\uff08\u7a0d\u540e\u4ecb\u7ecd\uff09\u3002<\/p>\n<h2>\u7b2c\u4e09\u6b65\uff1a\u5728\u4eea\u8868\u76d8\u5e03\u5c40\u4e2d\u5e94\u7528<\/h2>\n<p>\u73b0\u5728\u6211\u4eec\u5c06\u5361\u7247\u653e\u5165\u4e00\u4e2a Grid \u4eea\u8868\u76d8\uff0c\u89c2\u5bdf\u5b83\u5982\u4f55\u81ea\u9002\u5e94\u4e0d\u540c\u7f51\u683c\u533a\u57df\u3002<\/p>\n<pre><code class=\"language-html\">\n&lt;div class=&quot;dashboard&quot;&gt;\n  &lt;div class=&quot;sidebar&quot;&gt;\n    &lt;div class=&quot;card-wrapper&quot;&gt;\n      &lt;!-- \u5361\u7247\u5185\u5bb9\u540c\u4e0a --&gt;\n    &lt;\/div&gt;\n  &lt;\/div&gt;\n  &lt;div class=&quot;main&quot;&gt;\n    &lt;div class=&quot;card-wrapper&quot;&gt;\n      &lt;!-- \u5361\u7247\u5185\u5bb9\u540c\u4e0a --&gt;\n    &lt;\/div&gt;\n  &lt;\/div&gt;\n&lt;\/div&gt;\n<\/code><\/pre>\n<pre><code class=\"language-css\">\n.dashboard {\n  display: grid;\n  grid-template-columns: 1fr 3fr;\n  gap: 1rem;\n  width: 100%;\n  max-width: 1200px;\n  margin: 0 auto;\n  padding: 1rem;\n}\n\n.sidebar {\n  background: #f5f5f5;\n  padding: 1rem;\n}\n\n.main {\n  background: #fff;\n  padding: 1rem;\n}\n<\/code><\/pre>\n<p>\u6b64\u65f6\uff0c\u4fa7\u8fb9\u680f\u4e2d\u7684\u5361\u7247\u5bb9\u5668\u5bbd\u5ea6\u7ea6\u4e3a 1\/4 \u89c6\u53e3\uff0c\u4e3b\u533a\u57df\u7684\u5361\u7247\u5bb9\u5668\u5bbd\u5ea6\u7ea6\u4e3a 3\/4 \u89c6\u53e3\u3002\u5f53\u89c6\u53e3\u5bbd\u5ea6\u53d8\u5316\u65f6\uff0c\u4e24\u4e2a\u5361\u7247\u5404\u81ea\u6839\u636e\u81ea\u8eab\u5bb9\u5668\u5bbd\u5ea6\u8c03\u6574\u5e03\u5c40\uff0c\u4e92\u4e0d\u5f71\u54cd\u3002<\/p>\n<h2>\u7b2c\u56db\u6b65\uff1a\u9ad8\u7ea7\u6280\u5de7\u4e0e\u5e38\u89c1\u9677\u9631<\/h2>\n<h3>1. \u5bb9\u5668\u67e5\u8be2\u5355\u4f4d\uff08CQ Units\uff09<\/h3>\n<p>Container Queries \u5f15\u5165\u4e86\u65b0\u7684 CSS \u5355\u4f4d\uff1a<\/p>\n<ul>\n<li><code>cqw<\/code>\uff1a\u5bb9\u5668\u5bbd\u5ea6\u7684 1%<\/li>\n<li><code>cqh<\/code>\uff1a\u5bb9\u5668\u9ad8\u5ea6\u7684 1%<\/li>\n<li><code>cqi<\/code>\uff1a\u5bb9\u5668\u5185\u8054\u5c3a\u5bf8\u7684 1%<\/li>\n<li><code>cqb<\/code>\uff1a\u5bb9\u5668\u5757\u5411\u5c3a\u5bf8\u7684 1%<\/li>\n<li><code>cqmin<\/code> \/ <code>cqmax<\/code>\uff1a\u7c7b\u4f3c <code>vmin<\/code> \/ <code>vmax<\/code>\uff0c\u4f46\u57fa\u4e8e\u5bb9\u5668<\/li>\n<\/ul>\n<p>\u793a\u4f8b\uff1a\u8ba9\u5b57\u4f53\u5927\u5c0f\u968f\u5bb9\u5668\u5bbd\u5ea6\u53d8\u5316<\/p>\n<pre><code class=\"language-css\">\n.card-title {\n  font-size: clamp(1rem, 4cqi, 2rem);\n}\n<\/code><\/pre>\n<h3>2. \u907f\u514d\u5faa\u73af\u4f9d\u8d56<\/h3>\n<p>\u4e0d\u8981\u5728\u5bb9\u5668\u5185\u90e8\u4fee\u6539\u5bb9\u5668\u7684\u5c3a\u5bf8\uff08\u4f8b\u5982\u8bbe\u7f6e <code>width: 50%<\/code> \u57fa\u4e8e\u7236\u5bb9\u5668\uff0c\u800c\u7236\u5bb9\u5668\u53c8\u662f\u5bb9\u5668\uff09\uff0c\u5426\u5219\u53ef\u80fd\u5bfc\u81f4\u65e0\u9650\u5faa\u73af\u3002\u6d4f\u89c8\u5668\u901a\u5e38\u6709\u4fdd\u62a4\u673a\u5236\uff0c\u4f46\u6700\u597d\u907f\u514d\u3002<\/p>\n<h3>3. \u6d4f\u89c8\u5668\u517c\u5bb9\u6027<\/h3>\n<p>\u76ee\u524d\u4e3b\u6d41\u6d4f\u89c8\u5668\u5747\u5df2\u652f\u6301 Container Queries\uff0c\u4f46 IE \u5df2\u6b7b\uff0c\u65e0\u9700\u62c5\u5fc3\u3002\u53ef\u4ee5\u4f7f\u7528 <code>@supports (container-type: inline-size)<\/code> \u8fdb\u884c\u6e10\u8fdb\u589e\u5f3a\u3002<\/p>\n<h3>4. \u6027\u80fd\u4f18\u5316<\/h3>\n<p>\u4f18\u5148\u4f7f\u7528 <code>inline-size<\/code> \u800c\u4e0d\u662f <code>size<\/code>\uff0c\u56e0\u4e3a\u76d1\u542c\u9ad8\u5ea6\u53d8\u5316\u53ef\u80fd\u89e6\u53d1\u91cd\u6392\u3002\u5982\u679c\u786e\u5b9e\u9700\u8981\u540c\u65f6\u76d1\u542c\u5bbd\u9ad8\uff0c\u518d\u4f7f\u7528 <code>size<\/code>\u3002<\/p>\n<h3>5. \u547d\u540d\u7a7a\u95f4\u51b2\u7a81<\/h3>\n<p>\u5f53\u9875\u9762\u6709\u591a\u4e2a\u5bb9\u5668\u65f6\uff0c\u52a1\u5fc5\u4f7f\u7528 <code>container-name<\/code> \u533a\u5206\uff0c\u5426\u5219 <code>@container<\/code> \u4f1a\u5339\u914d\u6700\u8fd1\u7684\u7956\u5148\u5bb9\u5668\uff0c\u53ef\u80fd\u5bfc\u81f4\u610f\u5916\u3002<\/p>\n<h2>\u603b\u7ed3<\/h2>\n<p>\u901a\u8fc7\u672c\u6587\u7684\u5b66\u4e60\uff0c\u4f60\u638c\u63e1\u4e86\uff1a<\/p>\n<ol>\n<li>Container Queries \u7684\u4e09\u4e2a\u6838\u5fc3\u5c5e\u6027\uff1a<code>container-type<\/code>\u3001<code>container-name<\/code>\u3001<code>@container<\/code><\/li>\n<li>\u6784\u5efa\u4e86\u4e00\u4e2a\u652f\u6301\u4e09\u79cd\u5e03\u5c40\u7684\u81ea\u9002\u5e94\u5361\u7247\u7ec4\u4ef6<\/li>\n<li>\u5728 Grid \u4eea\u8868\u76d8\u4e2d\u9a8c\u8bc1\u4e86\u7ec4\u4ef6\u7ea7\u54cd\u5e94\u5f0f\u7684\u5a01\u529b<\/li>\n<li>\u4e86\u89e3\u4e86 CQ \u5355\u4f4d\u3001\u6027\u80fd\u4f18\u5316\u548c\u5e38\u89c1\u9677\u9631<\/li>\n<\/ol>\n<p>\u4e0b\u4e00\u6b65\uff0c\u4f60\u53ef\u4ee5\u5c1d\u8bd5\u5c06 Container Queries \u4e0e CSS \u81ea\u5b9a\u4e49\u5c5e\u6027\u3001<code>clamp()<\/code> \u51fd\u6570\u7ed3\u5408\uff0c\u5b9e\u73b0\u66f4\u7cbe\u7ec6\u7684\u54cd\u5e94\u5f0f\u8bbe\u8ba1\u3002\u540c\u65f6\uff0c\u5173\u6ce8 <code>@container style()<\/code> \u67e5\u8be2\uff08\u76ee\u524d\u90e8\u5206\u6d4f\u89c8\u5668\u652f\u6301\uff09\uff0c\u672a\u6765\u8fd8\u80fd\u57fa\u4e8e\u5bb9\u5668\u6837\u5f0f\u505a\u6761\u4ef6\u5224\u65ad\u3002<\/p>\n<p>> \u5b8c\u6574\u4ee3\u7801\u53ef\u5728 <a href=\"https:\/\/gist.github.com\">GitHub Gist<\/a> \u83b7\u53d6\uff08\u793a\u4f8b\u94fe\u63a5\uff09\u3002<\/p>\n<p>&#8212;<\/p>\n<p><strong>\u5ef6\u4f38\u9605\u8bfb<\/strong><\/p>\n<ul>\n<li><a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/CSS\/CSS<em>Container<\/em>Queries&#8221;>MDN: CSS Container Queries<\/a><\/li>\n<li><a href=\"https:\/\/www.w3.org\/TR\/css-contain-3\/\">W3C \u89c4\u8303<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u672c\u6587\u6df1\u5165\u8bb2\u89e3 CSS Container Queries \u7684\u6838\u5fc3\u6982\u5ff5\uff0c\u901a\u8fc7\u4e00\u4e2a\u5361\u7247\u7ec4\u4ef6\u548c\u4eea\u8868\u76d8\u5e03\u5c40\u7684\u5b8c\u6574\u6848\u4f8b\uff0c\u5c55\u793a\u5982\u4f55\u57fa\u4e8e\u5bb9\u5668\u5c3a\u5bf8\u800c\u975e\u89c6\u53e3\u6765\u5b9e\u73b0\u54cd\u5e94\u5f0f\u8bbe\u8ba1\u3002\u4f60\u5c06\u5b66\u4f1a\u4f7f\u7528 container-type\u3001container-name \u548c @container \u89c4\u5219\uff0c\u5e76\u638c\u63e1\u4e0e Grid\u3001Flexbox \u7ed3\u5408\u7684\u6700\u4f73\u5b9e\u8df5\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,4],"tags":[89,88,36,90,91],"class_list":["post-191","post","type-post","status-publish","format-standard","hentry","category-3","category-4","tag-container-queries","tag-css","tag-36","tag-90","tag-91"],"_links":{"self":[{"href":"https:\/\/yykcj.com\/index.php?rest_route=\/wp\/v2\/posts\/191","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/yykcj.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/yykcj.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/yykcj.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/yykcj.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=191"}],"version-history":[{"count":0,"href":"https:\/\/yykcj.com\/index.php?rest_route=\/wp\/v2\/posts\/191\/revisions"}],"wp:attachment":[{"href":"https:\/\/yykcj.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=191"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/yykcj.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=191"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/yykcj.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=191"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}