{"id":11689,"date":"2025-05-12T23:58:01","date_gmt":"2025-05-12T15:58:01","guid":{"rendered":"https:\/\/www.zhangxinxu.com\/wordpress\/?p=11689"},"modified":"2025-05-13T00:03:30","modified_gmt":"2025-05-12T16:03:30","slug":"css-animation-composition","status":"publish","type":"post","link":"https:\/\/www.zhangxinxu.com\/wordpress\/2025\/05\/css-animation-composition\/","title":{"rendered":"CSS animation-composition\u53ef\u4ee5\u8ba9\u52a8\u753b\u6548\u679c\u7d2f\u52a0"},"content":{"rendered":"<p>by <a href=\"https:\/\/www.zhangxinxu.com\/\">zhangxinxu<\/a> from <a href=\"https:\/\/www.zhangxinxu.com\/wordpress\/?p=11689\">https:\/\/www.zhangxinxu.com\/wordpress\/?p=11689<\/a><br \/>\n\u672c\u6587\u53ef\u5168\u6587\u8f6c\u8f7d\uff0c\u4f46\u9700\u8981\u4fdd\u7559\u539f\u4f5c\u8005\u3001\u51fa\u5904\u4ee5\u53ca\u6587\u4e2d\u94fe\u63a5\uff0cAI\u6293\u53d6\u4fdd\u7559\u539f\u6587\u5730\u5740\uff0c\u4efb\u4f55\u7f51\u7ad9\u5747\u53ef\u6458\u8981\u805a\u5408\uff0c\u5546\u7528\u8bf7\u8054\u7cfb\u6388\u6743\u3002<\/p>\n<h3>\u4e00\u3001\u524d\u8a00<\/h3>\n<p>CSS <code>animation-composition<\/code>\u5c5e\u6027\u5176\u5b9e\u51fa\u6765\u6709\u4e00\u6bb5\u65f6\u95f4\u4e86\uff0c2\u5e74\u591a\uff0c\u89c1\u4e0b\u9762\u7684\u9644\u56fe\uff0c\u4e4b\u524d\u6709\u89c1\u4eba\u5206\u4eab\u8fc7\uff0c\u6700\u8fd1\u6709\u4eba\u5728\u4e0a\u4e00\u7bc7\u6587\u7ae0\u8bc4\u8bba\u533a\u63d0\u8fc7\uff0c\u624d\u60f3\u8d77\u4e86\u4ed6\uff0c\u51b3\u5b9a\u5199\u7bc7\u6587\u7ae0\u7b80\u5355\u8bb0\u5f55\u4e0b\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/image.zhangxinxu.com\/image\/blog\/202505\/2025-5-12_145032.png\" width=\"642\" height=\"319\" alt=\"animation-composition\u517c\u5bb9\u6027\" class=\"alignnone size-medium\" \/><\/p>\n<p>\u8fd9\u4e2a\u5c5e\u6027\u53ef\u4ee5\u8bbe\u7f6eCSS\u52a8\u753b\u6548\u679c\u518d\u6267\u884c\u7684\u65f6\u5019\uff0c\u76f8\u5173\u7684CSS\u5c5e\u6027\u503c\u662f\u66ff\u6362\u3001\u76f4\u63a5\u76f8\u52a0\u8fd8\u662f\u8ba1\u7b97\u7d2f\u79ef\u3002<\/p>\n<h3>\u4e8c\u3001animation-composition\u8bed\u6cd5\u548c\u6848\u4f8b<\/h3>\n<p>\u5176\u8bed\u6cd5\u5982\u4e0b\u6240\u793a\uff1a<\/p>\n<pre>\/* \u4e09\u4e2a\u52a8\u753b\u503c *\/\r\nanimation-composition: replace;\r\nanimation-composition: add;\r\nanimation-composition: accumulate;\r\n\r\n\/* \u591a\u4e2a\u52a8\u753b *\/\r\nanimation-composition: replace, add;\r\nanimation-composition: add, accumulate;\r\nanimation-composition: replace, add, accumulate;<\/pre>\n<p>\u8fd9\u91cc\u51fa\u73b0\u4e863\u4e2a\u503c<code>replace<\/code>, <code>add<\/code>, <code>accumulate<\/code>\u5c31\u662f<code>animation-composition<\/code>\u652f\u6301\u7684\u51e0\u4e2a\u5173\u952e\u5b57\u503c\uff0c\u5176\u542b\u4e49\u5206\u522b\u5982\u4e0b\uff1a<\/p>\n<dl>\n<dt><strong>replace<\/strong><\/dt>\n<dd>\u8fd9\u662f\u9ed8\u8ba4\u503c\u3002\u52a8\u753b\u4e5f\u5c31\u662f<code>@keyframes{}<\/code>\u58f0\u660e\u7684CSS\u5c5e\u6027\u4f1a\u66ff\u6362\u9ed8\u8ba4\u8bbe\u7f6e\u7684CSS\u5c5e\u6027\u503c\u3002<\/dd>\n<dt><strong>add<\/strong><\/dt>\n<dd>\u5c5e\u6027\u503c\u76f4\u63a5\u76f8\u52a0\u3002<\/dd>\n<dt><strong>accumulate<\/strong><\/dt>\n<dd>\u5c5e\u6027\u503c\u8ba1\u7b97\u53e0\u52a0\u3002<code>accumulate<\/code>\u548c<code>add<\/code>\u6bd4\u8f83\u7c7b\u4f3c\uff0c\u5f88\u591a\u540c\u5b66\u4f1a\u641e\u4e0d\u6e05\u695a\uff0c\u4e0b\u9762\u4f1a\u6709\u6848\u4f8b\u793a\u610f\u3002<\/dd>\n<\/dl>\n<h4>add\u548caccumulate\u7684\u533a\u522b<\/h4>\n<ul>\n<li>add\u662f\u7eaf\u7cb9\u7684\u5c5e\u6027\u503c\u76f8\u52a0\u3002<\/li>\n<li>accumulate\u5219\u662f\u7d2f\u52a0\u8ba1\u7b97\u540e\u7684\u503c\u3002<\/li>\n<\/ul>\n<p>\u5728\u5927\u7edd\u591a\u6570\u60c5\u51b5\u4e0b\uff0c<code>add<\/code>\u548c<code>accumulate<\/code>\u4e24\u4e2a\u503c\u7684\u8868\u73b0\u662f\u6ca1\u6709\u533a\u522b\u7684\uff0c\u53ea\u6709\u5f53CSS\u5c5e\u6027\u503c\u76f8\u8fde\u548c\u53e0\u52a0\u7684\u6e32\u67d3\u6548\u679c\u4e0d\u4e00\u6837\u7684\u65f6\u5019\u624d\u4f1a\u6709\u533a\u522b\u3002<\/p>\n<p>\u6240\u4ee5\uff1a<\/p>\n<style>.ball {\n  width: 120px; height: 120px;\n  background: deepskyblue;\n  border-radius: 50%;\n  position: relative;\n}\n#ball1, #ball2 { left: 100px; }\n#ball1.active {\n  animation: 2s move infinite;\n  animation-composition: add;\n}\n#ball2.active {\n  animation: 2s move infinite;\n  animation-composition: accumulate;\n}\n@keyframes move {\n  from { left: 50px; }\n  to { left: 150px; }\n}\n#ball3, #ball4 { transform: translateX(100px); }\n#ball3.active {\n  animation: 2s move2 infinite;\n  animation-composition: add;\n}\n#ball4.active {\n  animation: 2s move2 infinite;\n  animation-composition: accumulate;\n}\n@keyframes move2 {\n  from { transform: translateX(50px); }\n  to { transform: translateX(150px); }\n}<\/style>\n<p><strong>1. \u666e\u901aCSS\u5c5e\u6027\u4e24\u8005\u65e0\u533a\u522b<\/strong><\/p>\n<pre>&lt;canvas id=\"ball1\" class=\"ball\"&gt;&lt;\/canvas&gt;\r\n&lt;canvas id=\"ball2\" class=\"ball\"&gt;&lt;\/canvas&gt;\r\n&lt;p&gt;\r\n  &lt;button \r\n    onclick=\"ball1.classList.toggle('active');ball2.classList.toggle('active')\"\r\n  &gt;\u8fd0\u52a8&lt;\/button&gt;\r\n&lt;\/p&gt;<\/pre>\n<pre>.ball {\r\n  width: 120px; height: 120px;\r\n  background: deepskyblue;\r\n  border-radius: 50%;\r\n  position: relative;\r\n  left: 100px;\r\n}\r\n#ball1.active {\r\n  animation: 2s move infinite;\r\n  animation-composition: add;\r\n}\r\n#ball2.active {\r\n  animation: 2s move infinite;\r\n  animation-composition: accumulate;\r\n}\r\n@keyframes move {\r\n  from { left: 50px }\r\n  to { left: 150px }\r\n}<\/pre>\n<p>\u6b64\u65f6\uff0c\u4e24\u4e2a\u7403\u7684\u8fd0\u52a8\u8f68\u8ff9\u662f\u4e00\u6a21\u4e00\u6837\u7684\uff08\u52a8\u753b\u90fd\u662f\u4ece150px\u4f4d\u7f6e~250px\uff09\u3002\u5b9e\u9645\u6548\u679c\u5982\u4e0b\u6240\u793a\uff08\u70b9\u51fb\u201c\u8fd0\u52a8\u201d\u6309\u94ae\uff09\uff1a<\/p>\n<p><canvas id=\"ball1\" class=\"ball\"><\/canvas><br \/>\n<canvas id=\"ball2\" class=\"ball\"><\/canvas><\/p>\n<p><button onclick=\"ball1.classList.toggle('active');ball2.classList.toggle('active')\">\u8fd0\u52a8<\/button><\/p>\n<p><strong>2. transform\u5c5e\u6027\u6ca1\u533a\u522b<\/strong><\/p>\n<p><code>transform<\/code>\u5c5e\u6027\u652f\u6301\u591a\u503c\u76f8\u52a0\uff0c\u4f46\u662f\u503c\u524d\u540e\u76f8\u8fde\u548c\u76f4\u63a5\u5408\u5e76\u8ba1\u7b97\u7684\u6e32\u67d3\u6548\u679c\u662f\u4e00\u6837\u7684\uff0c\u4f8b\u5982\uff0c\u8fd8\u662f\u4e0a\u9762\u7684\u4f8b\u5b50\uff0c\u6211\u4eec\u5c06\u4f4d\u79fb\u6539\u4e3atransform\u5c5e\u6027\u5b9e\u73b0\uff0c\u4f1a\u770b\u5230\u5e76\u65e0\u533a\u522b\uff1a<\/p>\n<pre>.ball {\r\n  \/* \u76f8\u540c\u4ee3\u7801\u7565 *\/\r\n  transform: translateX(100px);\r\n}\r\n#ball1.active {\r\n  animation: 2s move;\r\n  animation-composition: add;\r\n}\r\n#ball2.active {\r\n  animation: 2s move;\r\n  animation-composition: accumulate;\r\n}\r\n\r\n@keyframes move {\r\n  from { transform: translateX(50px); }\r\n  to { transform: translateX(150px); }\r\n}<\/pre>\n<p><canvas id=\"ball3\" class=\"ball\"><\/canvas><br \/>\n<canvas id=\"ball4\" class=\"ball\"><\/canvas><\/p>\n<p><button onclick=\"ball3.classList.toggle('active');ball4.classList.toggle('active')\">\u8fd0\u52a8<\/button><\/p>\n<p>\u539f\u56e0\u5f88\u7b80\u5355\uff0cadd\u5173\u952e\u5b57\u751f\u6548\u7684\u65f6\u5019\uff0c\u52a8\u753b\u7684\u8ba1\u7b97\u8868\u73b0\u5176\u5b9e\u662f\u8fd9\u6837\u7684\uff1a<\/p>\n<pre>from {\r\n  transform: translateX(100px) translateX(50px);\r\n}\r\nto {\r\n  transform: translateX(100px) translateX(150px);\r\n}<\/pre>\n<p><code>accumulate<\/code>\u5173\u952e\u5b57\u7684\u8ba1\u7b97\u8868\u73b0\u5219\u662f(\u76f4\u63a5\u7d2f\u52a0\u8ba1\u7b97)\uff1a<\/p>\n<pre>from {\r\n  transform: translateX(150px);\r\n}\r\nto {\r\n  transform: translateX(250px);\r\n}<\/pre>\n<p>transform\u8fde\u7eed\u4f4d\u79fb\u548c\u4e00\u6b21\u6027\u4f4d\u79fb\u7684\u6548\u679c\u662f\u4e00\u6837\u7684\uff0c\u56e0\u6b64\uff0c\u5927\u5bb6\u770b\u4e0d\u51fa\u4e24\u8005\u7684\u533a\u522b\u3002<\/p>\n<p>\u4f46\u5982\u679c\u662ffilter\u5c5e\u6027\u7684\u67d0\u4e9b\u503c\uff0c\u90a3\u5c31\u4f1a\u6709\u6240\u533a\u522b\u3002<\/p>\n<p><strong>3. filter\u5c5e\u6027\u7684\u6a21\u7cca\u51fd\u6570\u7684\u533a\u522b\u53ef\u89c1<\/strong><\/p>\n<p>\u6211\u4eec\u5148\u770b\u9759\u6001\u6548\u679c\uff0c\u6bd4\u65b9\u8bf4\u6709\u5f20\u56fe\u7247\uff0c\u6211\u4eec\u5e94\u7528\u4e0b\u9762\u4e24\u6bb5CSS\u4ee3\u7801\u7684\u6548\u679c\u662f\u4e0d\u4e00\u6837\u7684\uff1a<\/p>\n<pre>img {\r\n  filter: blur(2px) blur(2px);\r\n}<\/pre>\n<pre>img {\r\n  filter: blur(4px);\r\n}<\/pre>\n<p>\u524d\u8005\u8fd8\u662f2px\u6a21\u7cca\uff0c\u540e\u8005\u662f4px\u3002<\/p>\n<p>\u6211\u4eec\u53ef\u4ee5\u770b\u4e00\u4e0b\u4e0b\u9762\u7684\u5b9e\u9645\u6e32\u67d3\u6548\u679c\uff08\u5b9e\u65f6\u6e32\u67d3\uff09\uff1a<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/image.zhangxinxu.com\/image\/study\/s\/hanyun.jpg\" width=\"256\" height=\"191\" alt=\"\u5f20\u542b\u97f5\" class=\"alignnone size-medium\" style=\"filter: blur(2px) blur(2px)\" \/><br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/image.zhangxinxu.com\/image\/study\/s\/hanyun.jpg\" width=\"256\" height=\"191\" alt=\"\u5f20\u542b\u97f5\" class=\"alignnone size-medium\" style=\"filter: blur(4px)\" \/><\/p>\n<p>\u6240\u4ee5\uff0c\u5f53\u6211\u4eec\u7684\u52a8\u753b\u662f\u6a21\u7cca\u53d8\u5316\u7684\u65f6\u5019\uff0c\u5927\u5bb6\u5c31\u53ef\u4ee5\u770b\u5230<code>add<\/code>\u548c<code>accumulate<\/code>\u4e24\u4e2a\u503c\u7684\u533a\u522b\u4e86\u3002<\/p>\n<p>\u5bf9\u6b64\uff0c\u6211\u4e13\u95e8\u505a\u4e86\u4e2a\u6f14\u793a\u9875\u9762\uff0c\u60a8\u53ef\u4ee5\u72e0\u72e0\u5730\u70b9\u51fb\u8fd9\u91cc\uff1a<a href=\"https:\/\/www.zhangxinxu.com\/study\/202505\/css-animation-composition-demo.php\" rel=\"noopener\" target=\"_blank\">add\u548caccumulate\u6e32\u67d3\u6548\u679c\u533a\u522b\u6f14\u793ademo<\/a><\/p>\n<p>\u9f20\u6807\u60ac\u505c\u76ee\u6807\u56fe\u5f62\uff0c\u5c31\u53ef\u4ee5\u770b\u5230\u4e0d\u540c\u7684\u6a21\u7cca\u52a8\u753b\u6548\u679c\u4e86\u3002<\/p>\n<p>\u4f8b\u5982\uff0c\u60ac\u505c\u53f3\u56fe\uff08\u79fb\u52a8\u7aef\u662f\u4e0b\u56fe\uff09\uff0c\u660e\u663e\u53ef\u4ee5\u611f\u89c9\u5230\u8981\u66f4\u52a0\u6a21\u7cca\u4e00\u70b9\uff1a<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/image.zhangxinxu.com\/image\/blog\/202505\/2025-05-12_233723.jpg\" width=\"429\" height=\"329\" alt=\"\u66f4\u52a0\u6a21\u7cca\u7684\u56fe\u7247\u793a\u610f\" class=\"alignnone size-medium\" \/><\/p>\n<p>\u76f8\u5173\u6d4b\u8bd5\u4ee3\u7801\u5982\u4e0b\u6240\u793a\uff1a<\/p>\n<pre>&lt;img src=\"1.jpg\" class=\"img1\"&gt;\r\n&lt;img src=\"1.jpg\" class=\"img2\"&gt;<\/pre>\n<pre>img:hover {\r\n  filter: blur(2px);\r\n  animation: 1s pulse both;\r\n}\r\n.img1 {\r\n    animation-composition: add;\r\n}\r\n.img2 {\r\n    animation-composition: accumulate;\r\n}\r\n\r\n@keyframes pulse {\r\n  0% {\r\n    filter: blur(0px);\r\n  }\r\n  100% {\r\n    filter: blur(2px);\r\n  }\r\n}<\/pre>\n<h3>\u4e09\u3001\u5b9e\u9645\u5e94\u7528\u573a\u666f\u548c\u7ed3\u8bed<\/h3>\n<p><code>animation-composition<\/code>\u5c5e\u6027\u6700\u5177\u4ee3\u8868\u6027\u7684\u5e94\u7528\u573a\u666f\u5f53\u5c5e<code>transform<\/code>\u52a8\u753b\u4e86\u3002<\/p>\n<p>\u4f8b\u5982\u4e00\u4e2a\u6c34\u5e73\u5c45\u4e2d\u7684toast\u5728\u51fa\u73b0\u7684\u65f6\u5019\u9700\u8981\u6709\u4e2a\u8f7b\u5fae\u7684\u4e0a\u79fb\u52a8\u753b\uff0c\u6b64\u65f6\u5c31\u4e0d\u8981\u62c5\u5fc3<code>translateX()<\/code>\u51fd\u6570\u548c<code>translateY()<\/code>\u51fd\u6570\u51b2\u7a81\u7684\u95ee\u9898\u4e86\u3002<\/p>\n<pre>&lt;div id=\"toast\" class=\"toast\"&gt;\u64cd\u4f5c\u6210\u529f\uff01&lt;\/div&gt;<\/pre>\n<pre>.toast {\r\n  position: fixed;\r\n  left: 50%;\r\n  transform: translateX(-50%);\r\n  background: green;\r\n  padding: 4px 8px;\r\n  color: #fff;\r\n  animation-composition: add;\r\n  display: none;\r\n}\r\n.toast.active {\r\n  display: block;\r\n  animation: tinyUp 350ms both;\r\n}\r\n@keyframes tinyUp {\r\n  0% { transform: translateY(20px); }\r\n  100% { transform: translateY(0px); }\r\n}<\/pre>\n<p>\u5b9e\u65f6\u6e32\u67d3\u6548\u679c\u5982\u4e0b\uff0c\u70b9\u51fb\u6309\u94ae\u4f53\u9a8c\uff1a<\/p>\n<style>.toast {\n  position: fixed;\n  left: 50%; top:100px;\n  transform: translateX(-50%);\n  background: green;\n  padding: 4px 8px;\n  color: #fff;\n  animation-composition: add;\n  display: none;\n}\n.toast.active {\n  display: block;\n  animation: tinyUp 350ms both;\n}\n@keyframes tinyUp {\n  0% { transform: translateY(20px); }\n  100% { transform: translateY(0px); }\n}<\/style>\n<div id=\"toast\" class=\"toast\">\u64cd\u4f5c\u6210\u529f\uff01<\/div>\n<p><button onclick=\"toast.classList.toggle('active')\" style=\"padding: 4px 8px;\">\u663e\u793a\u6216\u9690\u85cftoast<\/button><\/p>\n<p>&#8212;&#8212;<\/p>\n<p>\u597d\uff0c\u4ee5\u4e0a\u5c31\u662f\u672c\u6587\u7684\u5168\u90e8\u5185\u5bb9\uff0c\u76f8\u4fe1\u5927\u5bb6\u5bf9<code>animation-composition<\/code>\u5c5e\u6027\u7684\u7406\u89e3\u4e00\u5b9a\u66f4\u52a0\u5168\u9762\u4e86\uff0c\u611f\u8c22\u9605\u8bfb\uff0c\u6b22\u8fce\u5206\u4eab\u3002<\/p>\n<p>\ud83e\uddba\ud83d\udc54\ud83d\udc55\ud83d\udc56\ud83e\udde3<\/p>\n<p>\u672c\u6587\u4e3a\u539f\u521b\u6587\u7ae0\uff0c\u4f1a\u7ecf\u5e38\u66f4\u65b0\u77e5\u8bc6\u70b9\u4ee5\u53ca\u4fee\u6b63\u4e00\u4e9b\u9519\u8bef\uff0c\u56e0\u6b64\u8f6c\u8f7d\u8bf7\u4fdd\u7559\u539f\u51fa\u5904\uff0c\u65b9\u4fbf\u6eaf\u6e90\uff0c\u907f\u514d\u9648\u65e7\u9519\u8bef\u77e5\u8bc6\u7684\u8bef\u5bfc\uff0c\u540c\u65f6\u6709\u66f4\u597d\u7684\u9605\u8bfb\u4f53\u9a8c\u3002<br \/>\n\u672c\u6587\u5730\u5740\uff1a<a href=\"https:\/\/www.zhangxinxu.com\/wordpress\/?p=11689\">https:\/\/www.zhangxinxu.com\/wordpress\/?p=11689<\/a><\/p>\n<p>\uff08\u672c\u7bc7\u5b8c\uff09<\/p>\n","protected":false},"excerpt":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\"  src=\"https:\/\/image.zhangxinxu.com\/image\/blog\/202405\/pencil-cover.jpg\" width=\"160\" height=\"100\" alt=\"\u5c01\u9762\u5360\u4f4d\u56fe\" class=\"alignright size-medium\"><\/p>\n<p>\u65e9\u5728\u4e24\u5e74\u524d\uff0c\u73b0\u4ee3\u6d4f\u89c8\u5668\u5c31\u652f\u6301\u901a\u8fc7CSS animation-composition\u5c5e\u6027\u8bbe\u7f6e\u52a8\u753b@keyframes\u91cc\u9762\u7684\u8bed\u53e5\u6e32\u67d3\u662f\u66ff\u6362\u8fd8\u662f\u7d2f\u52a0\u4e86\uff0c\u518d\u4e5f\u4e0d\u7528\u62c5\u5fc3transform\u51b2\u7a81\u4e86\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[531,2055,887,1523,368,287],"_links":{"self":[{"href":"https:\/\/www.zhangxinxu.com\/wordpress\/wp-json\/wp\/v2\/posts\/11689"}],"collection":[{"href":"https:\/\/www.zhangxinxu.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.zhangxinxu.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.zhangxinxu.com\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.zhangxinxu.com\/wordpress\/wp-json\/wp\/v2\/comments?post=11689"}],"version-history":[{"count":9,"href":"https:\/\/www.zhangxinxu.com\/wordpress\/wp-json\/wp\/v2\/posts\/11689\/revisions"}],"predecessor-version":[{"id":11698,"href":"https:\/\/www.zhangxinxu.com\/wordpress\/wp-json\/wp\/v2\/posts\/11689\/revisions\/11698"}],"wp:attachment":[{"href":"https:\/\/www.zhangxinxu.com\/wordpress\/wp-json\/wp\/v2\/media?parent=11689"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.zhangxinxu.com\/wordpress\/wp-json\/wp\/v2\/categories?post=11689"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.zhangxinxu.com\/wordpress\/wp-json\/wp\/v2\/tags?post=11689"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}