{"id":4984,"date":"2024-08-01T22:48:06","date_gmt":"2024-08-01T14:48:06","guid":{"rendered":"https:\/\/xinchewhd.com.cn\/?p=4984"},"modified":"2024-08-01T22:48:06","modified_gmt":"2024-08-01T14:48:06","slug":"%e4%b8%80%e6%96%87%e5%b8%a6%e4%bd%a0css-%e5%8a%a8%e7%94%bb%e4%bb%8e%e5%85%a5%e9%97%a8%e5%88%b0%e9%ab%98%e6%89%8b","status":"publish","type":"post","link":"https:\/\/xinchewhd.com.cn\/index.php\/uncategorized\/%e4%b8%80%e6%96%87%e5%b8%a6%e4%bd%a0css-%e5%8a%a8%e7%94%bb%e4%bb%8e%e5%85%a5%e9%97%a8%e5%88%b0%e9%ab%98%e6%89%8b\/","title":{"rendered":"\u4e00\u6587\u5e26\u4f60CSS \u52a8\u753b\u4ece\u5165\u95e8\u5230\u9ad8\u624b"},"content":{"rendered":"<div class='wxsyncmain'>\n<section data-tool=\"mdnice\u7f16\u8f91\u5668\" data-website=\"https:\/\/www.mdnice.com\" style=\"margin-bottom: 0px;padding-right: 10px;padding-left: 10px;outline: 0px;text-wrap: wrap;background-color: rgb(255, 255, 255);font-size: 16px;color: black;line-height: 1.6;letter-spacing: 0px;word-break: break-word;text-align: left;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &quot;PingFang SC&quot;, Cambria, Cochin, Georgia, Times, &quot;Times New Roman&quot;, serif;visibility: visible;\">\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;visibility: visible;\">\u672c\u6587\u5c06\u6bd4\u8f83\u5168\u9762\u7ec6\u81f4\u7684\u68b3\u7406\u4e00\u4e0b CSS \u52a8\u753b\u7684\u65b9\u65b9\u9762\u9762\uff0c\u9488\u5bf9\u6bcf\u4e2a\u5c5e\u6027\u7528\u6cd5\u7684\u8bb2\u89e3\u53ca\u8fdb\u9636\u7528\u6cd5\u7684\u793a\u610f\uff0c\u5e0c\u671b\u80fd\u6210\u4e3a\u4e00\u4e2a\u6bd4\u8f83\u597d\u7684\u4ece\u5165\u95e8\u5230\u8fdb\u9636\u7684\u6559\u7a0b\u3002<\/p>\n<h2 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 30px;margin-bottom: 15px;outline: 0px;font-weight: bold;font-size: 22px;visibility: visible;\">CSS \u52a8\u753b\u4ecb\u7ecd\u53ca\u8bed\u6cd5<\/h2>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;visibility: visible;\">\u9996\u5148\uff0c\u6211\u4eec\u6765\u7b80\u5355\u4ecb\u7ecd\u4e00\u4e0b CSS \u52a8\u753b\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;visibility: visible;\">\u6700\u65b0\u7248\u672c\u7684 CSS \u52a8\u753b\u7531\u89c4\u8303 --<span style=\"outline: 0px;color: rgb(30, 107, 184);font-weight: bold;visibility: visible;\">CSS Animations Level 1<\/span><sup style=\"outline: 0px;line-height: 0;color: rgb(30, 107, 184);font-weight: bold;visibility: visible;\">[1]<\/sup>\u5b9a\u4e49\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;visibility: visible;\">CSS \u52a8\u753b\u7528\u4e8e\u5b9e\u73b0\u5143\u7d20\u4ece\u4e00\u4e2a CSS \u6837\u5f0f\u914d\u7f6e\u8f6c\u6362\u5230\u53e6\u4e00\u4e2a CSS \u6837\u5f0f\u914d\u7f6e\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;visibility: visible;\">\u52a8\u753b\u5305\u62ec\u4e24\u4e2a\u90e8\u5206: \u63cf\u8ff0\u52a8\u753b\u7684\u6837\u5f0f\u89c4\u5219\u548c\u7528\u4e8e\u6307\u5b9a\u52a8\u753b\u5f00\u59cb\u3001\u7ed3\u675f\u4ee5\u53ca\u4e2d\u95f4\u70b9\u6837\u5f0f\u7684\u5173\u952e\u5e27\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;visibility: visible;\">\u7b80\u5355\u6765\u8bf4\uff0c\u770b\u4e0b\u9762\u7684\u4f8b\u5b50\uff1a<\/p>\n<pre data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;outline: 0px;border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;visibility: visible;\"><span style=\"margin-bottom: -7px;outline: 0px;display: block;background: url(&quot;https:\/\/mmbiz.qpic.cn\/mmbiz_svg\/et9q9FvjBBpUicMKVMtSeQDgyqINI1HsdpKhgDJMO2NL24ydRicQET9E8ziaicb2189O2tFibZdqfIjgYzcDIaWEPBsUazIvNiasS3\/640?wx_fmt=svg&amp;&quot;) 10px 10px \/ 40px no-repeat rgb(40, 44, 52);height: 30px;width: 657px;border-radius: 5px;visibility: visible;\"><\/span><code style=\"padding: 15px 16px 16px;outline: 0px;overflow-x: auto;color: rgb(171, 178, 191);display: -webkit-box;font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;font-size: 12px;background: rgb(40, 44, 52);border-radius: 5px;visibility: visible;\"><span style=\"outline: 0px;color: rgb(224, 108, 117);line-height: 26px;visibility: visible;\">div<\/span>{<span style=\"outline: 0px;color: rgb(152, 195, 121);line-height: 26px;visibility: visible;\">animation<\/span>:change<span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;visibility: visible;\">3s<\/span>;}<span style=\"outline: 0px;color: rgb(198, 120, 221);line-height: 26px;visibility: visible;\">@keyframes<\/span>change{0%{<span style=\"outline: 0px;color: rgb(152, 195, 121);line-height: 26px;visibility: visible;\">color<\/span>:<span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;visibility: visible;\">#f00<\/span>;}100%{<span style=\"outline: 0px;color: rgb(152, 195, 121);line-height: 26px;visibility: visible;\">color<\/span>:<span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;visibility: visible;\">#000<\/span>;}}<\/code><\/pre>\n<ol data-tool=\"mdnice\u7f16\u8f91\u5668\" class=\"list-paddingleft-1\" style=\"margin-top: 8px;margin-bottom: 8px;padding-left: 25px;outline: 0px;visibility: visible;\">\n<li style=\"outline: 0px;visibility: visible;\">\n<section style=\"margin-top: 5px;margin-bottom: 5px;outline: 0px;line-height: 26px;color: rgb(1, 1, 1);visibility: visible;\"><code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;visibility: visible;\">animation: move 1s<\/code>\u90e8\u5206\u5c31\u662f\u52a8\u753b\u7684\u7b2c\u4e00\u90e8\u5206\uff0c\u7528\u4e8e\u63cf\u8ff0\u52a8\u753b\u7684\u5404\u4e2a\u89c4\u5219;<\/section>\n<\/li>\n<li style=\"outline: 0px;visibility: visible;\">\n<section style=\"margin-top: 5px;margin-bottom: 5px;outline: 0px;line-height: 26px;color: rgb(1, 1, 1);visibility: visible;\"><code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;visibility: visible;\">@keyframes move {}<\/code>\u90e8\u5206\u5c31\u662f\u52a8\u753b\u7684\u7b2c\u4e8c\u90e8\u5206\uff0c\u7528\u4e8e\u6307\u5b9a\u52a8\u753b\u5f00\u59cb\u3001\u7ed3\u675f\u4ee5\u53ca\u4e2d\u95f4\u70b9\u6837\u5f0f\u7684\u5173\u952e\u5e27;<\/section>\n<\/li>\n<\/ol>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;visibility: visible;\">\u4e00\u4e2a CSS \u52a8\u753b\u4e00\u5b9a\u8981\u7531\u4e0a\u8ff0\u4e24\u90e8\u5206\u7ec4\u6210\u3002<\/p>\n<h3 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 30px;margin-bottom: 15px;outline: 0px;font-weight: bold;font-size: 20px;\">CSS \u52a8\u753b\u7684\u8bed\u6cd5<\/h3>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u63a5\u4e0b\u6765\uff0c\u6211\u4eec\u7b80\u5355\u770b\u770b CSS \u52a8\u753b\u7684\u8bed\u6cd5\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u521b\u5efa\u52a8\u753b\u5e8f\u5217\uff0c\u9700\u8981\u4f7f\u7528 animation \u5c5e\u6027\u6216\u5176\u5b50\u5c5e\u6027\uff0c\u8be5\u5c5e\u6027\u5141\u8bb8\u914d\u7f6e\u52a8\u753b\u65f6\u95f4\u3001\u65f6\u957f\u4ee5\u53ca\u5176\u4ed6\u52a8\u753b\u7ec6\u8282\uff0c\u4f46\u8be5\u5c5e\u6027\u4e0d\u80fd\u914d\u7f6e\u52a8\u753b\u7684\u5b9e\u9645\u8868\u73b0\uff0c\u52a8\u753b\u7684\u5b9e\u9645\u8868\u73b0\u662f\u7531 @keyframes \u89c4\u5219\u5b9e\u73b0\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">animation \u7684\u5b50\u5c5e\u6027\u6709\uff1a<\/p>\n<ul data-tool=\"mdnice\u7f16\u8f91\u5668\" class=\"list-paddingleft-1\" style=\"margin-top: 8px;margin-bottom: 8px;padding-left: 25px;outline: 0px;\">\n<li style=\"outline: 0px;\">\n<section style=\"margin-top: 5px;margin-bottom: 5px;outline: 0px;line-height: 26px;color: rgb(1, 1, 1);\">animation-name\uff1a\u6307\u5b9a\u7531 @keyframes \u63cf\u8ff0\u7684\u5173\u952e\u5e27\u540d\u79f0\u3002<\/section>\n<\/li>\n<li style=\"outline: 0px;\">\n<section style=\"margin-top: 5px;margin-bottom: 5px;outline: 0px;line-height: 26px;color: rgb(1, 1, 1);\">animation-duration\uff1a\u8bbe\u7f6e\u52a8\u753b\u4e00\u4e2a\u5468\u671f\u7684\u65f6\u957f\u3002<\/section>\n<\/li>\n<li style=\"outline: 0px;\">\n<section style=\"margin-top: 5px;margin-bottom: 5px;outline: 0px;line-height: 26px;color: rgb(1, 1, 1);\">animation-delay\uff1a\u8bbe\u7f6e\u5ef6\u65f6\uff0c\u5373\u4ece\u5143\u7d20\u52a0\u8f7d\u5b8c\u6210\u4e4b\u540e\u5230\u52a8\u753b\u5e8f\u5217\u5f00\u59cb\u6267\u884c\u7684\u8fd9\u6bb5\u65f6\u95f4\u3002<\/section>\n<\/li>\n<li style=\"outline: 0px;\">\n<section style=\"margin-top: 5px;margin-bottom: 5px;outline: 0px;line-height: 26px;color: rgb(1, 1, 1);\">animation-direction\uff1a\u8bbe\u7f6e\u52a8\u753b\u5728\u6bcf\u6b21\u8fd0\u884c\u5b8c\u540e\u662f\u53cd\u5411\u8fd0\u884c\u8fd8\u662f\u91cd\u65b0\u56de\u5230\u5f00\u59cb\u4f4d\u7f6e\u91cd\u590d\u8fd0\u884c\u3002<\/section>\n<\/li>\n<li style=\"outline: 0px;\">\n<section style=\"margin-top: 5px;margin-bottom: 5px;outline: 0px;line-height: 26px;color: rgb(1, 1, 1);\">animation-iteration-count\uff1a\u8bbe\u7f6e\u52a8\u753b\u91cd\u590d\u6b21\u6570\uff0c \u53ef\u4ee5\u6307\u5b9a infinite \u65e0\u9650\u6b21\u91cd\u590d\u52a8\u753b<\/section>\n<\/li>\n<li style=\"outline: 0px;\">\n<section style=\"margin-top: 5px;margin-bottom: 5px;outline: 0px;line-height: 26px;color: rgb(1, 1, 1);\">animation-play-state\uff1a\u5141\u8bb8\u6682\u505c\u548c\u6062\u590d\u52a8\u753b\u3002<\/section>\n<\/li>\n<li style=\"outline: 0px;\">\n<section style=\"margin-top: 5px;margin-bottom: 5px;outline: 0px;line-height: 26px;color: rgb(1, 1, 1);\">animation-timing-function\uff1a\u8bbe\u7f6e\u52a8\u753b\u901f\u5ea6\uff0c \u5373\u901a\u8fc7\u5efa\u7acb\u52a0\u901f\u5ea6\u66f2\u7ebf\uff0c\u8bbe\u7f6e\u52a8\u753b\u5728\u5173\u952e\u5e27\u4e4b\u95f4\u662f\u5982\u4f55\u53d8\u5316\u3002<\/section>\n<\/li>\n<li style=\"outline: 0px;\">\n<section style=\"margin-top: 5px;margin-bottom: 5px;outline: 0px;line-height: 26px;color: rgb(1, 1, 1);\">animation-fill-mode\uff1a\u6307\u5b9a\u52a8\u753b\u6267\u884c\u524d\u540e\u5982\u4f55\u4e3a\u76ee\u6807\u5143\u7d20\u5e94\u7528\u6837\u5f0f<\/section>\n<\/li>\n<li style=\"outline: 0px;\">\n<section style=\"margin-top: 5px;margin-bottom: 5px;outline: 0px;line-height: 26px;color: rgb(1, 1, 1);\">@keyframes \u89c4\u5219\uff0c\u5f53\u7136\uff0c\u4e00\u4e2a\u52a8\u753b\u60f3\u8981\u8fd0\u884c\uff0c\u8fd8\u5e94\u8be5\u5305\u62ec @keyframes \u89c4\u5219\uff0c\u5728\u5185\u90e8\u8bbe\u5b9a\u52a8\u753b\u5173\u952e\u5e27<\/section>\n<\/li>\n<\/ul>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u5176\u4e2d\uff0c\u5bf9\u4e8e\u4e00\u4e2a\u52a8\u753b\uff1a<\/p>\n<ul data-tool=\"mdnice\u7f16\u8f91\u5668\" class=\"list-paddingleft-1\" style=\"margin-top: 8px;margin-bottom: 8px;padding-left: 25px;outline: 0px;\">\n<li style=\"outline: 0px;\">\n<section style=\"margin-top: 5px;margin-bottom: 5px;outline: 0px;line-height: 26px;color: rgb(1, 1, 1);\"><strong style=\"outline: 0px;color: black;\">\u5fc5\u987b\u9879<\/strong>\uff1a<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">animation-name<\/code>\u3001<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">animation-duration<\/code>\u548c<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">@keyframes<\/code>\u89c4\u5219<\/section>\n<\/li>\n<li style=\"outline: 0px;\">\n<section style=\"margin-top: 5px;margin-bottom: 5px;outline: 0px;line-height: 26px;color: rgb(1, 1, 1);\"><strong style=\"outline: 0px;color: black;\">\u975e\u5fc5\u987b\u9879<\/strong>\uff1a<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">animation-delay<\/code>\u3001<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">animation-direction<\/code>\u3001<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">animation-iteration-count<\/code>\u3001<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">animation-play-state<\/code>\u3001<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">animation-timing-function<\/code>\u3001<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">animation-fill-mode<\/code>\uff0c\u5f53\u7136\u4e0d\u662f\u8bf4\u5b83\u4eec\u4e0d\u91cd\u8981\uff0c\u53ea\u662f\u4e0d\u8bbe\u7f6e\u65f6\uff0c\u5b83\u4eec\u90fd\u6709\u9ed8\u8ba4\u503c<\/section>\n<\/li>\n<\/ul>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u4e0a\u9762\u5df2\u7ecf\u7ed9\u4e86\u4e00\u4e2a\u7b80\u5355\u7684 DEMO\uff0c \u5c31\u7528\u4e0a\u8ff0\u7684 DEMO\uff0c\u770b\u770b\u7ed3\u679c\uff1a<\/p>\n<figure data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;outline: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;\"><img decoding=\"async\" class=\"rich_pages wxw-img __bg_gif lazyload\" data-imgfileid=\"100014746\" data-ratio=\"0.24545454545454545\"  data-type=\"gif\" data-w=\"220\" style=\"margin-right: auto;margin-left: auto;outline: 0px;display: block;visibility: visible !important;width: 220px !important;height: auto !important;\" data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214619763.gif\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\"  \/><noscript><img decoding=\"async\" class=\"rich_pages wxw-img __bg_gif\" data-imgfileid=\"100014746\" data-ratio=\"0.24545454545454545\"  data-type=\"gif\" data-w=\"220\" style=\"margin-right: auto;margin-left: auto;outline: 0px;display: block;visibility: visible !important;width: 220px !important;height: auto !important;\" src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214619763.gif\"  \/><\/noscript><\/figure>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u8fd9\u5c31\u662f\u4e00\u4e2a\u6700\u57fa\u672c\u7684 CSS \u52a8\u753b\uff0c\u672c\u6587\u5c06\u4ece animation \u7684\u5404\u4e2a\u5b50\u5c5e\u6027\u5165\u624b\uff0c\u63a2\u7a76 CSS \u52a8\u753b\u7684\u65b9\u65b9\u9762\u9762\u3002<\/p>\n<h2 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 30px;margin-bottom: 15px;outline: 0px;font-weight: bold;font-size: 22px;\">animation-name \/ animation-duration \u8be6\u89e3<\/h2>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u6574\u4f53\u800c\u8a00\uff0c\u5355\u4e2a\u7684<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">animation-name<\/code>\u548c<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">animation-duration<\/code>\u6ca1\u6709\u592a\u591a\u7684\u6280\u5de7\uff0c\u975e\u5e38\u597d\u7406\u89e3\uff0c\u653e\u5728\u4e00\u8d77\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u9996\u5148\u4ecb\u7ecd\u4e00\u4e0b<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">animation-name<\/code>\uff0c\u901a\u8fc7<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">animation-name<\/code>\uff0cCSS \u5f15\u64ce\u5c06\u4f1a\u627e\u5230\u5bf9\u5e94\u7684 @keyframes \u89c4\u5219\u3002<\/p>\n<figure data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;outline: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;\"><img decoding=\"async\" class=\"rich_pages wxw-img lazyload\" data-imgfileid=\"100014744\" data-ratio=\"1.1540983606557378\"  data-type=\"png\" data-w=\"305\" style=\"margin-right: auto;margin-left: auto;outline: 0px;display: block;visibility: visible !important;width: 305px !important;height: auto !important;\" data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214621421.webp\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\"  \/><noscript><img decoding=\"async\" class=\"rich_pages wxw-img\" data-imgfileid=\"100014744\" data-ratio=\"1.1540983606557378\"  data-type=\"png\" data-w=\"305\" style=\"margin-right: auto;margin-left: auto;outline: 0px;display: block;visibility: visible !important;width: 305px !important;height: auto !important;\" src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214621421.webp\"  \/><\/noscript><\/figure>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u5f53\u7136\uff0c\u5b83\u548c CSS \u89c4\u5219\u547d\u540d\u4e00\u6837\uff0c\u4e5f\u5b58\u5728\u4e00\u4e9b\u9a9a\u64cd\u4f5c\u3002\u8b6c\u5982\uff0c\u4ed6\u662f\u652f\u6301 emoji \u8868\u60c5\u7684\uff0c\u6240\u4ee5\u4ee3\u7801\u4e2d\u7684<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">animation-name<\/code>\u547d\u540d\u4e5f\u53ef\u4ee5\u8fd9\u6837\u5199\uff1a<\/p>\n<pre data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;outline: 0px;border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;\"><span style=\"margin-bottom: -7px;outline: 0px;display: block;background: url(&quot;https:\/\/mmbiz.qpic.cn\/mmbiz_svg\/et9q9FvjBBpUicMKVMtSeQDgyqINI1HsdpKhgDJMO2NL24ydRicQET9E8ziaicb2189O2tFibZdqfIjgYzcDIaWEPBsUazIvNiasS3\/640?wx_fmt=svg&amp;&quot;) 10px 10px \/ 40px no-repeat rgb(40, 44, 52);height: 30px;width: 657px;border-radius: 5px;\"><\/span><code style=\"padding: 15px 16px 16px;outline: 0px;overflow-x: auto;color: rgb(171, 178, 191);display: -webkit-box;font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;font-size: 12px;background: rgb(40, 44, 52);border-radius: 5px;\"><span style=\"outline: 0px;color: rgb(224, 108, 117);line-height: 26px;\">div<\/span>{<span style=\"outline: 0px;color: rgb(152, 195, 121);line-height: 26px;\">animation<\/span>:\ud83d\ude04<span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">3s<\/span>;}<span style=\"outline: 0px;color: rgb(198, 120, 221);line-height: 26px;\">@keyframes<\/span>\ud83d\ude04{0%{<span style=\"outline: 0px;color: rgb(152, 195, 121);line-height: 26px;\">color<\/span>:<span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">#f00<\/span>;}100%{<span style=\"outline: 0px;color: rgb(152, 195, 121);line-height: 26px;\">color<\/span>:<span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">#000<\/span>;}}<\/code><\/pre>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u800c<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">animation-duration<\/code>\u8bbe\u7f6e\u52a8\u753b\u4e00\u4e2a\u5468\u671f\u7684\u65f6\u957f\uff0c\u4e0a\u8ff0 DEMO \u4e2d\uff0c\u5c31\u662f\u8bbe\u5b9a\u52a8\u753b\u6574\u4f53\u6301\u7eed<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">3s<\/code>\uff0c\u8fd9\u4e2a\u4e5f\u975e\u5e38\u597d\u7406\u89e3\u3002<\/p>\n<h2 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 30px;margin-bottom: 15px;outline: 0px;font-weight: bold;font-size: 22px;\">animation-delay \u8be6\u89e3<\/h2>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\"><code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">animation-delay<\/code>\u5c31\u6bd4\u8f83\u6709\u610f\u601d\u4e86\uff0c\u5b83\u53ef\u4ee5\u8bbe\u7f6e\u52a8\u753b\u5ef6\u65f6\uff0c\u5373\u4ece\u5143\u7d20\u52a0\u8f7d\u5b8c\u6210\u4e4b\u540e\u5230\u52a8\u753b\u5e8f\u5217\u5f00\u59cb\u6267\u884c\u7684\u8fd9\u6bb5\u65f6\u95f4\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u7b80\u5355\u7684\u4e00\u4e2a DEMO\uff1a<\/p>\n<pre data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;outline: 0px;border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;\"><span style=\"margin-bottom: -7px;outline: 0px;display: block;background: url(&quot;https:\/\/mmbiz.qpic.cn\/mmbiz_svg\/et9q9FvjBBpUicMKVMtSeQDgyqINI1HsdpKhgDJMO2NL24ydRicQET9E8ziaicb2189O2tFibZdqfIjgYzcDIaWEPBsUazIvNiasS3\/640?wx_fmt=svg&amp;&quot;) 10px 10px \/ 40px no-repeat rgb(40, 44, 52);height: 30px;width: 657px;border-radius: 5px;\"><\/span><code style=\"padding: 15px 16px 16px;outline: 0px;overflow-x: auto;color: rgb(171, 178, 191);display: -webkit-box;font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;font-size: 12px;background: rgb(40, 44, 52);border-radius: 5px;\"><span style=\"outline: 0px;line-height: 26px;\">&lt;<span style=\"outline: 0px;color: rgb(224, 108, 117);line-height: 26px;\">div<\/span>&gt;<\/span><span style=\"outline: 0px;line-height: 26px;\">&lt;\/<span style=\"outline: 0px;color: rgb(224, 108, 117);line-height: 26px;\">div<\/span>&gt;<\/span><span style=\"outline: 0px;line-height: 26px;\">&lt;<span style=\"outline: 0px;color: rgb(224, 108, 117);line-height: 26px;\">div<\/span>&gt;<\/span><span style=\"outline: 0px;line-height: 26px;\">&lt;\/<span style=\"outline: 0px;color: rgb(224, 108, 117);line-height: 26px;\">div<\/span>&gt;<\/span><\/code><\/pre>\n<pre data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;outline: 0px;border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;\"><span style=\"margin-bottom: -7px;outline: 0px;display: block;background: url(&quot;https:\/\/mmbiz.qpic.cn\/mmbiz_svg\/et9q9FvjBBpUicMKVMtSeQDgyqINI1HsdpKhgDJMO2NL24ydRicQET9E8ziaicb2189O2tFibZdqfIjgYzcDIaWEPBsUazIvNiasS3\/640?wx_fmt=svg&amp;&quot;) 10px 10px \/ 40px no-repeat rgb(40, 44, 52);height: 30px;width: 657px;border-radius: 5px;\"><\/span><code style=\"padding: 15px 16px 16px;outline: 0px;overflow-x: auto;color: rgb(171, 178, 191);display: -webkit-box;font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;font-size: 12px;background: rgb(40, 44, 52);border-radius: 5px;\"><span style=\"outline: 0px;color: rgb(224, 108, 117);line-height: 26px;\">div<\/span>{<span style=\"outline: 0px;color: rgb(152, 195, 121);line-height: 26px;\">width<\/span>:<span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">100px<\/span>;<span style=\"outline: 0px;color: rgb(152, 195, 121);line-height: 26px;\">height<\/span>:<span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">100px<\/span>;<span style=\"outline: 0px;color: rgb(152, 195, 121);line-height: 26px;\">background<\/span>:<span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">#000<\/span>;<span style=\"outline: 0px;color: rgb(152, 195, 121);line-height: 26px;\">animation-name<\/span>:move;<span style=\"outline: 0px;color: rgb(152, 195, 121);line-height: 26px;\">animation-duration<\/span>:<span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">2s<\/span>;}<span style=\"outline: 0px;color: rgb(224, 108, 117);line-height: 26px;\">div<\/span><span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">:nth-child(2)<\/span>{<span style=\"outline: 0px;color: rgb(152, 195, 121);line-height: 26px;\">animation-delay<\/span>:<span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">1s<\/span>;}<span style=\"outline: 0px;color: rgb(198, 120, 221);line-height: 26px;\">@keyframes<\/span>move{0%{<span style=\"outline: 0px;color: rgb(152, 195, 121);line-height: 26px;\">transform<\/span>:<span style=\"outline: 0px;color: rgb(230, 192, 123);line-height: 26px;\">translate<\/span>(<span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">0<\/span>);}100%{<span style=\"outline: 0px;color: rgb(152, 195, 121);line-height: 26px;\">transform<\/span>:<span style=\"outline: 0px;color: rgb(230, 192, 123);line-height: 26px;\">translate<\/span>(<span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">200px<\/span>);}}<\/code><\/pre>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u6bd4\u8f83\u4e0b\u5217\u4e24\u4e2a\u52a8\u753b\uff0c\u4e00\u4e2a\u6dfb\u52a0\u4e86<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">animation-delay<\/code>\uff0c\u4e00\u4e2a\u6ca1\u6709\uff0c\u975e\u5e38\u76f4\u89c2\uff1a<\/p>\n<figure data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;outline: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;\"><img decoding=\"async\" class=\"rich_pages wxw-img __bg_gif lazyload\" data-imgfileid=\"100014745\" data-ratio=\"0.7146666666666667\"  data-type=\"gif\" data-w=\"375\" style=\"margin-right: auto;margin-left: auto;outline: 0px;display: block;visibility: visible !important;width: 375px !important;height: auto !important;\" data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214621202.gif\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\"  \/><noscript><img decoding=\"async\" class=\"rich_pages wxw-img __bg_gif\" data-imgfileid=\"100014745\" data-ratio=\"0.7146666666666667\"  data-type=\"gif\" data-w=\"375\" style=\"margin-right: auto;margin-left: auto;outline: 0px;display: block;visibility: visible !important;width: 375px !important;height: auto !important;\" src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214621202.gif\"  \/><\/noscript><\/figure>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u4e0a\u8ff0\u7b2c\u4e8c\u4e2a div\uff0c\u5173\u4e8e<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">animation<\/code>\u5c5e\u6027\uff0c\u4e5f\u53ef\u4ee5\u7b80\u5199\u4e3a<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">animation: move 2s 1s<\/code>\uff0c\u7b2c\u4e00\u4e2a\u65f6\u95f4\u503c\u8868\u793a\u6301\u7eed\u65f6\u95f4\uff0c\u7b2c\u4e8c\u4e2a\u65f6\u95f4\u503c\u8868\u793a\u5ef6\u8fdf\u65f6\u95f4\u3002<\/p>\n<h3 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 30px;margin-bottom: 15px;outline: 0px;font-weight: bold;font-size: 20px;\">animation-delay \u53ef\u4ee5\u4e3a\u8d1f\u503c<\/h3>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u5173\u4e8e<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">animation-delay<\/code>\uff0c\u6700\u6709\u610f\u601d\u7684\u6280\u5de7\u5728\u4e8e\uff0c\u5b83\u53ef\u4ee5\u662f\u8d1f\u6570\u3002\u4e5f\u5c31\u662f\u8bf4\uff0c\u867d\u7136\u5c5e\u6027\u540d\u662f<strong style=\"outline: 0px;\">\u52a8\u753b\u5ef6\u8fdf\u65f6\u95f4<\/strong>\uff0c\u4f46\u662f\u8fd0\u7528\u4e86\u8d1f\u6570\u4e4b\u540e\uff0c\u52a8\u753b\u53ef\u4ee5<strong style=\"outline: 0px;\">\u63d0\u524d\u8fdb\u884c<\/strong>\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u5047\u8bbe\u6211\u4eec\u8981\u5b9e\u73b0\u8fd9\u6837\u4e00\u4e2a loading \u52a8\u753b\u6548\u679c\uff1a<\/p>\n<figure data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;outline: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;\"><img decoding=\"async\" class=\"rich_pages wxw-img __bg_gif lazyload\" data-imgfileid=\"100014748\" data-ratio=\"0.823170731707317\"  data-type=\"gif\" data-w=\"164\" style=\"margin-right: auto;margin-left: auto;outline: 0px;display: block;visibility: visible !important;width: 164px !important;height: auto !important;\" data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214624852.gif\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\"  \/><noscript><img decoding=\"async\" class=\"rich_pages wxw-img __bg_gif\" data-imgfileid=\"100014748\" data-ratio=\"0.823170731707317\"  data-type=\"gif\" data-w=\"164\" style=\"margin-right: auto;margin-left: auto;outline: 0px;display: block;visibility: visible !important;width: 164px !important;height: auto !important;\" src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214624852.gif\"  \/><\/noscript><\/figure>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u6709\u51e0\u79cd\u601d\u8def\uff1a<\/p>\n<ol data-tool=\"mdnice\u7f16\u8f91\u5668\" class=\"list-paddingleft-1\" style=\"margin-top: 8px;margin-bottom: 8px;padding-left: 25px;outline: 0px;\">\n<li style=\"outline: 0px;\">\n<section style=\"margin-top: 5px;margin-bottom: 5px;outline: 0px;line-height: 26px;color: rgb(1, 1, 1);\">\u521d\u59cb 3 \u4e2a\u7403\u7684\u4f4d\u7f6e\u5c31\u662f\u95f4\u9694 120\u00b0\uff0c\u540c\u65f6\u5f00\u59cb\u65cb\u8f6c\uff0c\u4f46\u662f\u8fd9\u6837\u4ee3\u7801\u91cf\u4f1a\u7a0d\u5fae\u591a\u4e00\u70b9<\/section>\n<\/li>\n<li style=\"outline: 0px;\">\n<section style=\"margin-top: 5px;margin-bottom: 5px;outline: 0px;line-height: 26px;color: rgb(1, 1, 1);\">\u53e6\u5916\u4e00\u79cd\u601d\u8def\uff0c\u540c\u4e00\u4e2a\u52a8\u753b\uff0c3 \u4e2a\u5143\u7d20\u7684\u5176\u4e2d\u4e24\u4e2a\u5ef6\u8fdf\u6574\u4e2a\u52a8\u753b\u7684 1\/3\uff0c2\/3 \u65f6\u95f4\u51fa\u53d1<\/section>\n<\/li>\n<\/ol>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u65b9\u6848 2 \u7684\u6838\u5fc3\u4f2a\u4ee3\u7801\u5982\u4e0b\uff1a<\/p>\n<pre data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;outline: 0px;border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;\"><span style=\"margin-bottom: -7px;outline: 0px;display: block;background: url(&quot;https:\/\/mmbiz.qpic.cn\/mmbiz_svg\/et9q9FvjBBpUicMKVMtSeQDgyqINI1HsdpKhgDJMO2NL24ydRicQET9E8ziaicb2189O2tFibZdqfIjgYzcDIaWEPBsUazIvNiasS3\/640?wx_fmt=svg&amp;&quot;) 10px 10px \/ 40px no-repeat rgb(40, 44, 52);height: 30px;width: 657px;border-radius: 5px;\"><\/span><code style=\"padding: 15px 16px 16px;outline: 0px;overflow-x: auto;color: rgb(171, 178, 191);display: -webkit-box;font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;font-size: 12px;background: rgb(40, 44, 52);border-radius: 5px;\"><span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">.item<\/span><span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">:nth-child(1)<\/span>{<span style=\"outline: 0px;color: rgb(152, 195, 121);line-height: 26px;\">animation<\/span>:rotate<span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">3s<\/span>infinitelinear;}<span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">.item<\/span><span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">:nth-child(2)<\/span>{<span style=\"outline: 0px;color: rgb(152, 195, 121);line-height: 26px;\">animation<\/span>:rotate<span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">3s<\/span>infinite<span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">1s<\/span>linear;}<span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">.item<\/span><span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">:nth-child(3)<\/span>{<span style=\"outline: 0px;color: rgb(152, 195, 121);line-height: 26px;\">animation<\/span>:rotate<span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">3s<\/span>infinite<span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">2s<\/span>linear;}<\/code><\/pre>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u4f46\u662f\uff0c\u5728\u52a8\u753b\u7684\u524d 2s\uff0c\u53e6\u5916\u4e24\u4e2a\u5143\u7d20\u662f\u4e0d\u4f1a\u52a8\u7684\uff0c\u53ea\u6709 2s \u8fc7\u540e\uff0c\u6574\u4e2a\u52a8\u753b\u624d\u662f\u6211\u4eec\u60f3\u8981\u7684\uff1a<\/p>\n<figure data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;outline: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;\"><img decoding=\"async\" class=\"rich_pages wxw-img __bg_gif lazyload\" data-imgfileid=\"100014747\" data-ratio=\"0.823170731707317\"  data-type=\"gif\" data-w=\"164\" style=\"margin-right: auto;margin-left: auto;outline: 0px;display: block;visibility: visible !important;width: 164px !important;height: auto !important;\" data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214628426.gif\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\"  \/><noscript><img decoding=\"async\" class=\"rich_pages wxw-img __bg_gif\" data-imgfileid=\"100014747\" data-ratio=\"0.823170731707317\"  data-type=\"gif\" data-w=\"164\" style=\"margin-right: auto;margin-left: auto;outline: 0px;display: block;visibility: visible !important;width: 164px !important;height: auto !important;\" src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214628426.gif\"  \/><\/noscript><\/figure>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u6b64\u65f6\uff0c\u6211\u4eec\u53ef\u4ee5\u8ba9\u7b2c 2\u30013 \u4e2a\u5143\u7d20\u7684\u5ef6\u8fdf\u65f6\u95f4\uff0c\u6539\u4e3a\u8d1f\u503c\uff0c\u8fd9\u6837\u53ef\u4ee5\u8ba9\u52a8\u753b\u5ef6\u8fdf\u8fdb\u884c<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">-1s<\/code>\u3001<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">-2s<\/code>\uff0c\u4e5f\u5c31\u662f\u63d0\u524d\u8fdb\u884c<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">1s<\/code>\u3001<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">2s<\/code>\uff1a<\/p>\n<pre data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;outline: 0px;border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;\"><span style=\"margin-bottom: -7px;outline: 0px;display: block;background: url(&quot;https:\/\/mmbiz.qpic.cn\/mmbiz_svg\/et9q9FvjBBpUicMKVMtSeQDgyqINI1HsdpKhgDJMO2NL24ydRicQET9E8ziaicb2189O2tFibZdqfIjgYzcDIaWEPBsUazIvNiasS3\/640?wx_fmt=svg&amp;&quot;) 10px 10px \/ 40px no-repeat rgb(40, 44, 52);height: 30px;width: 657px;border-radius: 5px;\"><\/span><code style=\"padding: 15px 16px 16px;outline: 0px;overflow-x: auto;color: rgb(171, 178, 191);display: -webkit-box;font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;font-size: 12px;background: rgb(40, 44, 52);border-radius: 5px;\"><span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">.item<\/span><span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">:nth-child(1)<\/span>{<span style=\"outline: 0px;color: rgb(152, 195, 121);line-height: 26px;\">animation<\/span>:rotate<span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">3s<\/span>infinitelinear;}<span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">.item<\/span><span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">:nth-child(2)<\/span>{<span style=\"outline: 0px;color: rgb(152, 195, 121);line-height: 26px;\">animation<\/span>:rotate<span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">3s<\/span>infinite-<span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">1s<\/span>linear;}<span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">.item<\/span><span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">:nth-child(3)<\/span>{<span style=\"outline: 0px;color: rgb(152, 195, 121);line-height: 26px;\">animation<\/span>:rotate<span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">3s<\/span>infinite-<span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">2s<\/span>linear;}<\/code><\/pre>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u8fd9\u6837\uff0c\u6bcf\u4e2a\u5143\u7d20\u90fd\u65e0\u9700\u7b49\u5f85\uff0c\u76f4\u63a5\u5c31\u662f\u8fd0\u52a8\u72b6\u6001\u4e2d\u7684\uff0c\u5e76\u4e14\u5143\u7d20\u95f4\u9694\u4f4d\u7f6e\u662f\u6211\u4eec\u60f3\u8981\u7684\u7ed3\u679c\uff1a<\/p>\n<p style=\"outline: 0px;text-align: center;\"><img decoding=\"async\" class=\"rich_pages wxw-img js_insertlocalimg __bg_gif lazyload\" data-ratio=\"0.823170731707317\" data-s=\"300,640\" data-type=\"gif\" data-w=\"164\"  style=\"outline: 0px;visibility: visible !important;width: 164px !important;height: auto !important;\" data-imgfileid=\"100014752\" data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214631538.gif\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\"  \/><noscript><img decoding=\"async\" class=\"rich_pages wxw-img js_insertlocalimg __bg_gif\" data-ratio=\"0.823170731707317\" data-s=\"300,640\" data-type=\"gif\" data-w=\"164\"  style=\"outline: 0px;visibility: visible !important;width: 164px !important;height: auto !important;\" data-imgfileid=\"100014752\" src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214631538.gif\"  \/><\/noscript><\/p>\n<h3 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 30px;margin-bottom: 15px;outline: 0px;font-weight: bold;font-size: 20px;\">\u5229\u7528 animation-duration \u548c animation-delay \u6784\u5efa\u968f\u673a\u6548\u679c<\/h3>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u8fd8\u6709\u4e00\u4e2a\u6709\u610f\u601d\u7684\u5c0f\u6280\u5de7\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u540c\u4e00\u4e2a\u52a8\u753b\uff0c\u6211\u4eec\u5229\u7528\u4e00\u5b9a\u8303\u56f4\u5185\u968f\u673a\u7684<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">animation-duration<\/code>\u548c\u4e00\u5b9a\u8303\u56f4\u5185\u968f\u673a\u7684<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">animation-delay<\/code>\uff0c\u53ef\u4ee5\u6709\u6548\u7684\u6784\u5efa\u66f4\u4e3a\u968f\u673a\u7684\u52a8\u753b\u6548\u679c\uff0c\u8ba9\u52a8\u753b\u66f4\u52a0\u7684\u81ea\u7136\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u6211\u5728\u4e0b\u8ff0\u4e24\u4e2a\u7eaf CSS \u52a8\u753b\u4e2d\uff0c\u90fd\u4f7f\u7528\u4e86\u8fd9\u6837\u7684\u6280\u5de7\uff1a<\/p>\n<ol data-tool=\"mdnice\u7f16\u8f91\u5668\" class=\"list-paddingleft-1\" style=\"margin-top: 8px;margin-bottom: 8px;padding-left: 25px;outline: 0px;\">\n<li style=\"outline: 0px;\">\n<section style=\"margin-top: 5px;margin-bottom: 5px;outline: 0px;line-height: 26px;color: rgb(1, 1, 1);\"><span style=\"outline: 0px;color: rgb(30, 107, 184);font-weight: bold;\">\u7eaf CSS \u5b9e\u73b0\u534e\u4e3a\u5145\u7535\u52a8\u753b<\/span><sup style=\"outline: 0px;line-height: 0;color: rgb(30, 107, 184);font-weight: bold;\">[2]<\/sup>\uff1a<\/section>\n<\/li>\n<\/ol>\n<figure data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;outline: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;\"><img decoding=\"async\" class=\"rich_pages wxw-img __bg_gif lazyload\" data-imgfileid=\"100014753\" data-ratio=\"1.5413223140495869\"  data-type=\"gif\" data-w=\"242\" style=\"margin-right: auto;margin-left: auto;outline: 0px;display: block;visibility: visible !important;width: 242px !important;height: auto !important;\" data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214634204.gif\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\"  \/><noscript><img decoding=\"async\" class=\"rich_pages wxw-img __bg_gif\" data-imgfileid=\"100014753\" data-ratio=\"1.5413223140495869\"  data-type=\"gif\" data-w=\"242\" style=\"margin-right: auto;margin-left: auto;outline: 0px;display: block;visibility: visible !important;width: 242px !important;height: auto !important;\" src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214634204.gif\"  \/><\/noscript><figcaption style=\"margin-top: 5px;outline: 0px;text-align: center;color: rgb(136, 136, 136);font-size: 14px;\">\u7eaf CSS \u5b9e\u73b0\u534e\u4e3a\u5145\u7535\u52a8\u753b<\/figcaption><\/figure>\n<ol start=\"2\" data-tool=\"mdnice\u7f16\u8f91\u5668\" class=\"list-paddingleft-1\" style=\"margin-top: 8px;margin-bottom: 8px;padding-left: 25px;outline: 0px;\">\n<li style=\"outline: 0px;\">\n<section style=\"margin-top: 5px;margin-bottom: 5px;outline: 0px;line-height: 26px;color: rgb(1, 1, 1);\"><span style=\"outline: 0px;color: rgb(30, 107, 184);font-weight: bold;\">\u7eaf CSS \u5b9e\u73b0\u706b\u7130\u52a8\u753b<\/span><sup style=\"outline: 0px;line-height: 0;color: rgb(30, 107, 184);font-weight: bold;\">[3]<\/sup>\uff1a<\/section>\n<\/li>\n<\/ol>\n<figure data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;outline: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;\"><img decoding=\"async\" class=\"rich_pages wxw-img __bg_gif lazyload\" data-ratio=\"1.7317073170731707\" data-type=\"gif\" data-w=\"164\"  style=\"margin-right: auto;margin-left: auto;outline: 0px;display: block;visibility: visible !important;width: 164px !important;height: auto !important;\" data-imgfileid=\"100014749\" data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214641144.gif\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\"  \/><noscript><img decoding=\"async\" class=\"rich_pages wxw-img __bg_gif\" data-ratio=\"1.7317073170731707\" data-type=\"gif\" data-w=\"164\"  style=\"margin-right: auto;margin-left: auto;outline: 0px;display: block;visibility: visible !important;width: 164px !important;height: auto !important;\" data-imgfileid=\"100014749\" src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214641144.gif\"  \/><\/noscript><figcaption style=\"margin-top: 5px;outline: 0px;text-align: center;color: rgb(136, 136, 136);font-size: 14px;\">\u7eaf CSS \u5b9e\u73b0\u706b\u7130\u52a8\u753b<\/figcaption><\/figure>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u4ee5<strong style=\"outline: 0px;\">\u7eaf CSS \u5b9e\u73b0\u534e\u4e3a\u5145\u7535\u52a8\u753b<\/strong>\u4e3a\u4f8b\u5b50\uff0c\u7b80\u5355\u8bb2\u89e3\u4e00\u4e0b\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u4ed4\u7ec6\u89c2\u5bdf\u8fd9\u4e00\u90e8\u5206\uff0c\u4e0a\u5347\u7684\u4e00\u4e2a\u4e00\u4e2a\u5706\u7403\uff0c\u629b\u53bb\u8fd9\u91cc\u7684\u4e00\u4e9b\u878d\u5408\u6548\u679c\uff0c\u53ea\u5173\u6ce8\u4e0d\u65ad\u4e0a\u5347\u7684\u5706\u7403\uff0c\u770b\u7740\u50cf\u662f\u6ca1\u6709\u4ec0\u4e48\u89c4\u5f8b\u53ef\u8a00\uff1a<\/p>\n<figure data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;outline: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;\"><img decoding=\"async\" data-ratio=\"1.5866666666666667\" data-type=\"gif\" data-w=\"150\"  class=\"__bg_gif lazyload\" style=\"margin-right: auto;margin-left: auto;outline: 0px;display: block;visibility: visible !important;width: 150px !important;height: auto !important;\" data-imgfileid=\"100014751\" data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214646740.gif\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\"  \/><noscript><img decoding=\"async\" data-ratio=\"1.5866666666666667\" data-type=\"gif\" data-w=\"150\"  class=\"__bg_gif\" style=\"margin-right: auto;margin-left: auto;outline: 0px;display: block;visibility: visible !important;width: 150px !important;height: auto !important;\" data-imgfileid=\"100014751\" src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214646740.gif\"  \/><\/noscript><\/figure>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u6211\u4eec\u6765\u6a21\u62df\u4e00\u4e0b\uff0c\u5982\u679c\u662f\u4f7f\u7528 10 \u4e2a<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">animation-duration<\/code>\u548c<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">animation-delay<\/code>\u90fd\u4e00\u81f4\u7684\u5706\u7684\u8bdd\uff0c\u6838\u5fc3\u4f2a\u4ee3\u7801\uff1a<\/p>\n<pre data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;outline: 0px;border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;\"><span style=\"margin-bottom: -7px;outline: 0px;display: block;background: url(&quot;https:\/\/mmbiz.qpic.cn\/mmbiz_svg\/et9q9FvjBBpUicMKVMtSeQDgyqINI1HsdpKhgDJMO2NL24ydRicQET9E8ziaicb2189O2tFibZdqfIjgYzcDIaWEPBsUazIvNiasS3\/640?wx_fmt=svg&amp;&quot;) 10px 10px \/ 40px no-repeat rgb(40, 44, 52);height: 30px;width: 657px;border-radius: 5px;\"><\/span><code style=\"padding: 15px 16px 16px;outline: 0px;overflow-x: auto;color: rgb(171, 178, 191);display: -webkit-box;font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;font-size: 12px;background: rgb(40, 44, 52);border-radius: 5px;\"><span style=\"outline: 0px;line-height: 26px;\">&lt;<span style=\"outline: 0px;color: rgb(224, 108, 117);line-height: 26px;\">ul<\/span>&gt;<\/span><span style=\"outline: 0px;line-height: 26px;\">&lt;<span style=\"outline: 0px;color: rgb(224, 108, 117);line-height: 26px;\">li<\/span>&gt;<\/span><span style=\"outline: 0px;line-height: 26px;\">&lt;\/<span style=\"outline: 0px;color: rgb(224, 108, 117);line-height: 26px;\">li<\/span>&gt;<\/span><span style=\"outline: 0px;color: rgb(92, 99, 112);font-style: italic;line-height: 26px;\">&lt;!--\u517110\u4e2a...--&gt;<\/span><span style=\"outline: 0px;line-height: 26px;\">&lt;<span style=\"outline: 0px;color: rgb(224, 108, 117);line-height: 26px;\">li<\/span>&gt;<\/span><span style=\"outline: 0px;line-height: 26px;\">&lt;\/<span style=\"outline: 0px;color: rgb(224, 108, 117);line-height: 26px;\">li<\/span>&gt;<\/span><span style=\"outline: 0px;line-height: 26px;\">&lt;\/<span style=\"outline: 0px;color: rgb(224, 108, 117);line-height: 26px;\">ul<\/span>&gt;<\/span><\/code><\/pre>\n<pre data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;outline: 0px;border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;\"><span style=\"margin-bottom: -7px;outline: 0px;display: block;background: url(&quot;https:\/\/mmbiz.qpic.cn\/mmbiz_svg\/et9q9FvjBBpUicMKVMtSeQDgyqINI1HsdpKhgDJMO2NL24ydRicQET9E8ziaicb2189O2tFibZdqfIjgYzcDIaWEPBsUazIvNiasS3\/640?wx_fmt=svg&amp;&quot;) 10px 10px \/ 40px no-repeat rgb(40, 44, 52);height: 30px;width: 657px;border-radius: 5px;\"><\/span><code style=\"padding: 15px 16px 16px;outline: 0px;overflow-x: auto;color: rgb(171, 178, 191);display: -webkit-box;font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;font-size: 12px;background: rgb(40, 44, 52);border-radius: 5px;\"><span style=\"outline: 0px;color: rgb(224, 108, 117);line-height: 26px;\">ul<\/span>{<span style=\"outline: 0px;color: rgb(152, 195, 121);line-height: 26px;\">display<\/span>:flex;<span style=\"outline: 0px;color: rgb(152, 195, 121);line-height: 26px;\">flex-wrap<\/span>:nowrap;<span style=\"outline: 0px;color: rgb(152, 195, 121);line-height: 26px;\">gap<\/span>:<span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">5px<\/span>;}<span style=\"outline: 0px;color: rgb(224, 108, 117);line-height: 26px;\">li<\/span>{<span style=\"outline: 0px;color: rgb(152, 195, 121);line-height: 26px;\">background<\/span>:<span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">#000<\/span>;<span style=\"outline: 0px;color: rgb(152, 195, 121);line-height: 26px;\">animation<\/span>:move<span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">3s<\/span>infinite<span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">1s<\/span>linear;}<span style=\"outline: 0px;color: rgb(198, 120, 221);line-height: 26px;\">@keyframes<\/span>move{0%{<span style=\"outline: 0px;color: rgb(152, 195, 121);line-height: 26px;\">transform<\/span>:<span style=\"outline: 0px;color: rgb(230, 192, 123);line-height: 26px;\">translate<\/span>(<span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">0<\/span>,<span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">0<\/span>);}100%{<span style=\"outline: 0px;color: rgb(152, 195, 121);line-height: 26px;\">transform<\/span>:<span style=\"outline: 0px;color: rgb(230, 192, 123);line-height: 26px;\">translate<\/span>(<span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">0<\/span>,-<span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">100px<\/span>);}}<\/code><\/pre>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u8fd9\u6837\uff0c\u5c0f\u7403\u7684\u8fd0\u52a8\u4f1a\u662f\u8fd9\u6837\u7684\u6574\u9f50\u5212\u4e00\uff1a<\/p>\n<figure data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;outline: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;\"><img decoding=\"async\" class=\"rich_pages wxw-img __bg_gif lazyload\" data-imgfileid=\"100014750\" data-ratio=\"0.6\"  data-type=\"gif\" data-w=\"240\" style=\"margin-right: auto;margin-left: auto;outline: 0px;display: block;visibility: visible !important;width: 240px !important;height: auto !important;\" data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214652635.gif\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\"  \/><noscript><img decoding=\"async\" class=\"rich_pages wxw-img __bg_gif\" data-imgfileid=\"100014750\" data-ratio=\"0.6\"  data-type=\"gif\" data-w=\"240\" style=\"margin-right: auto;margin-left: auto;outline: 0px;display: block;visibility: visible !important;width: 240px !important;height: auto !important;\" src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214652635.gif\"  \/><\/noscript><\/figure>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u8981\u8ba9\u5c0f\u7403\u7684\u8fd0\u52a8\u663e\u5f97\u975e\u5e38\u7684\u968f\u673a\uff0c\u53ea\u9700\u8981\u8ba9<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">animation-duration<\/code>\u548c<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">animation-delay<\/code>\u90fd\u5728\u4e00\u5b9a\u8303\u56f4\u5185\u6d6e\u52a8\u5373\u53ef\uff0c\u6539\u9020\u4e0b CSS\uff1a<\/p>\n<pre data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;outline: 0px;border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;\"><span style=\"margin-bottom: -7px;outline: 0px;display: block;background: url(&quot;https:\/\/mmbiz.qpic.cn\/mmbiz_svg\/et9q9FvjBBpUicMKVMtSeQDgyqINI1HsdpKhgDJMO2NL24ydRicQET9E8ziaicb2189O2tFibZdqfIjgYzcDIaWEPBsUazIvNiasS3\/640?wx_fmt=svg&amp;&quot;) 10px 10px \/ 40px no-repeat rgb(40, 44, 52);height: 30px;width: 657px;border-radius: 5px;\"><\/span><code style=\"padding: 15px 16px 16px;outline: 0px;overflow-x: auto;color: rgb(171, 178, 191);display: -webkit-box;font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;font-size: 12px;background: rgb(40, 44, 52);border-radius: 5px;\"><span style=\"outline: 0px;color: rgb(198, 120, 221);line-height: 26px;\">@for<\/span>$ifrom<span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">1<\/span>to<span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">11<\/span>{<span style=\"outline: 0px;color: rgb(224, 108, 117);line-height: 26px;\">li<\/span><span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">:nth-child(<\/span>#{$i}){<span style=\"outline: 0px;color: rgb(152, 195, 121);line-height: 26px;\">animation-duration<\/span>:#{<span style=\"outline: 0px;color: rgb(230, 192, 123);line-height: 26px;\">random<\/span>(<span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">2000<\/span>)\/<span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">1000<\/span>+<span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">2<\/span>}<span style=\"outline: 0px;color: rgb(224, 108, 117);line-height: 26px;\">s<\/span>;<span style=\"outline: 0px;color: rgb(224, 108, 117);line-height: 26px;\">animation-delay<\/span>:#{random(1000)\/1000+1}<span style=\"outline: 0px;color: rgb(224, 108, 117);line-height: 26px;\">s<\/span>;}}<\/code><\/pre>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u6211\u4eec\u5229\u7528 SASS \u7684\u5faa\u73af\u548c<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">random()<\/code>\u51fd\u6570\uff0c\u8ba9<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">animation-duration<\/code>\u5728 2-4 \u79d2\u8303\u56f4\u5185\u968f\u673a\uff0c\u8ba9<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">animation-delay<\/code>\u5728 1-2 \u79d2\u8303\u56f4\u5185\u968f\u673a\uff0c\u8fd9\u6837\uff0c\u6211\u4eec\u5c31\u53ef\u4ee5\u5f97\u5230\u975e\u5e38\u81ea\u7136\u4e14\u4e0d\u540c\u7684\u4e0a\u5347\u52a8\u753b\u6548\u679c\uff0c\u57fa\u672c\u4e0d\u4f1a\u51fa\u73b0\u91cd\u590d\u7684\u753b\u9762\uff0c\u5f88\u597d\u7684\u6a21\u62df\u4e86\u968f\u673a\u6548\u679c\uff1a<\/p>\n<p style=\"outline: 0px;text-align: center;\"><img decoding=\"async\" class=\"rich_pages wxw-img js_insertlocalimg __bg_gif lazyload\" data-imgfileid=\"100014757\" data-ratio=\"0.6\" data-s=\"300,640\"  data-type=\"gif\" data-w=\"240\" style=\"outline: 0px;visibility: visible !important;width: 240px !important;height: auto !important;\" data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214655365.gif\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\"  \/><noscript><img decoding=\"async\" class=\"rich_pages wxw-img js_insertlocalimg __bg_gif\" data-imgfileid=\"100014757\" data-ratio=\"0.6\" data-s=\"300,640\"  data-type=\"gif\" data-w=\"240\" style=\"outline: 0px;visibility: visible !important;width: 240px !important;height: auto !important;\" src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214655365.gif\"  \/><\/noscript><\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\"><span style=\"outline: 0px;color: rgb(30, 107, 184);font-weight: bold;\">CodePen Demo -- \u5229\u7528\u8303\u56f4\u968f\u673a animation-duration \u548c animation-delay \u5b9e\u73b0\u968f\u673a\u52a8\u753b\u6548\u679c<\/span><sup style=\"outline: 0px;line-height: 0;color: rgb(30, 107, 184);font-weight: bold;\">[4]<\/sup><\/p>\n<h2 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 30px;margin-bottom: 15px;outline: 0px;font-weight: bold;font-size: 22px;\">animation-timing-function \u7f13\u52a8\u51fd\u6570<\/h2>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u7f13\u52a8\u51fd\u6570\u5728\u52a8\u753b\u4e2d\u975e\u5e38\u91cd\u8981\uff0c\u5b83\u5b9a\u4e49\u4e86\u52a8\u753b\u5728\u6bcf\u4e00\u52a8\u753b\u5468\u671f\u4e2d\u6267\u884c\u7684\u8282\u594f\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u7f13\u52a8\u4e3b\u8981\u5206\u4e3a\u4e24\u7c7b\uff1a<\/p>\n<ol data-tool=\"mdnice\u7f16\u8f91\u5668\" class=\"list-paddingleft-1\" style=\"margin-top: 8px;margin-bottom: 8px;padding-left: 25px;outline: 0px;\">\n<li style=\"outline: 0px;\">\n<section style=\"margin-top: 5px;margin-bottom: 5px;outline: 0px;line-height: 26px;color: rgb(1, 1, 1);\">cubic-bezier-timing-function \u4e09\u6b21\u8d1d\u585e\u5c14\u66f2\u7ebf\u7f13\u52a8\u51fd\u6570<\/section>\n<\/li>\n<li style=\"outline: 0px;\">\n<section style=\"margin-top: 5px;margin-bottom: 5px;outline: 0px;line-height: 26px;color: rgb(1, 1, 1);\">step-timing-function \u6b65\u9aa4\u7f13\u52a8\u51fd\u6570\uff08\u8fd9\u4e2a\u7ffb\u8bd1\u662f\u6211\u81ea\u5df1\u7ffb\u7684\uff0c\u53ef\u80fd\u6709\u70b9\u5947\u602a\uff09<\/section>\n<\/li>\n<\/ol>\n<h3 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 30px;margin-bottom: 15px;outline: 0px;font-weight: bold;font-size: 20px;\">\u4e09\u6b21\u8d1d\u585e\u5c14\u66f2\u7ebf\u7f13\u52a8\u51fd\u6570<\/h3>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u9996\u5148\u5148\u770b\u770b<strong style=\"outline: 0px;\">\u4e09\u6b21\u8d1d\u585e\u5c14\u66f2\u7ebf\u7f13\u52a8\u51fd\u6570<\/strong>\u3002\u5728 CSS \u4e2d\uff0c\u652f\u6301\u4e00\u4e9b\u7f13\u52a8\u51fd\u6570\u5173\u952e\u5b57\u3002<\/p>\n<pre data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;outline: 0px;border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;\"><span style=\"margin-bottom: -7px;outline: 0px;display: block;background: url(&quot;https:\/\/mmbiz.qpic.cn\/mmbiz_svg\/et9q9FvjBBpUicMKVMtSeQDgyqINI1HsdpKhgDJMO2NL24ydRicQET9E8ziaicb2189O2tFibZdqfIjgYzcDIaWEPBsUazIvNiasS3\/640?wx_fmt=svg&amp;&quot;) 10px 10px \/ 40px no-repeat rgb(40, 44, 52);height: 30px;width: 657px;border-radius: 5px;\"><\/span><code style=\"padding: 15px 16px 16px;outline: 0px;overflow-x: auto;color: rgb(171, 178, 191);display: -webkit-box;font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;font-size: 12px;background: rgb(40, 44, 52);border-radius: 5px;\"><span style=\"outline: 0px;color: rgb(92, 99, 112);font-style: italic;line-height: 26px;\">\/*Keywordvalues*\/<\/span><span style=\"outline: 0px;color: rgb(224, 108, 117);line-height: 26px;\">animation-timing-function<\/span>:<span style=\"outline: 0px;color: rgb(224, 108, 117);line-height: 26px;\">ease<\/span>;\/\/\u52a8\u753b\u4ee5\u4f4e\u901f\u5f00\u59cb\uff0c\u7136\u540e\u52a0\u5feb\uff0c\u5728\u7ed3\u675f\u524d\u53d8\u6162<span style=\"outline: 0px;color: rgb(224, 108, 117);line-height: 26px;\">animation-timing-function<\/span>:<span style=\"outline: 0px;color: rgb(224, 108, 117);line-height: 26px;\">ease-in<\/span>;\/\/\u52a8\u753b\u4ee5\u4f4e\u901f\u5f00\u59cb<span style=\"outline: 0px;color: rgb(224, 108, 117);line-height: 26px;\">animation-timing-function<\/span>:<span style=\"outline: 0px;color: rgb(224, 108, 117);line-height: 26px;\">ease-out<\/span>;\/\/\u52a8\u753b\u4ee5\u4f4e\u901f\u7ed3\u675f<span style=\"outline: 0px;color: rgb(224, 108, 117);line-height: 26px;\">animation-timing-function<\/span>:<span style=\"outline: 0px;color: rgb(224, 108, 117);line-height: 26px;\">ease-in-out<\/span>;\/\/\u52a8\u753b\u4ee5\u4f4e\u901f\u5f00\u59cb\u548c\u7ed3\u675f<span style=\"outline: 0px;color: rgb(224, 108, 117);line-height: 26px;\">animation-timing-function<\/span>:<span style=\"outline: 0px;color: rgb(224, 108, 117);line-height: 26px;\">linear<\/span>;\/\/\u5300\u901f\uff0c\u52a8\u753b\u4ece\u5934\u5230\u5c3e\u7684\u901f\u5ea6\u662f\u76f8\u540c\u7684<\/code><\/pre>\n<figure data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;outline: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;\"><img decoding=\"async\" class=\"rich_pages wxw-img lazyload\" data-imgfileid=\"100014754\" data-ratio=\"0.23488773747841105\"  data-type=\"png\" data-w=\"579\" style=\"margin-right: auto;margin-left: auto;outline: 0px;display: block;visibility: visible !important;width: 579px !important;height: auto !important;\" data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214702314.webp\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\"  \/><noscript><img decoding=\"async\" class=\"rich_pages wxw-img\" data-imgfileid=\"100014754\" data-ratio=\"0.23488773747841105\"  data-type=\"png\" data-w=\"579\" style=\"margin-right: auto;margin-left: auto;outline: 0px;display: block;visibility: visible !important;width: 579px !important;height: auto !important;\" src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214702314.webp\"  \/><\/noscript><\/figure>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u5173\u4e8e\u5b83\u4eec\u4e4b\u95f4\u7684\u6548\u679c\u5bf9\u6bd4\uff1a<\/p>\n<figure data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;outline: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;\"><img decoding=\"async\" class=\"rich_pages wxw-img __bg_gif lazyload\" data-imgfileid=\"100014756\" data-ratio=\"1.0138888888888888\"  data-type=\"gif\" data-w=\"360\" style=\"margin-right: auto;margin-left: auto;outline: 0px;display: block;visibility: visible !important;width: 360px !important;height: auto !important;\" data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214702908.gif\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\"  \/><noscript><img decoding=\"async\" class=\"rich_pages wxw-img __bg_gif\" data-imgfileid=\"100014756\" data-ratio=\"1.0138888888888888\"  data-type=\"gif\" data-w=\"360\" style=\"margin-right: auto;margin-left: auto;outline: 0px;display: block;visibility: visible !important;width: 360px !important;height: auto !important;\" src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214702908.gif\"  \/><\/noscript><\/figure>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u9664\u4e86 CSS \u652f\u6301\u7684\u8fd9 5 \u4e2a\u5173\u952e\u5b57\uff0c\u6211\u4eec\u8fd8\u53ef\u4ee5\u4f7f\u7528<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">cubic-bezier()<\/code>\u65b9\u6cd5\u81ea\u5b9a\u4e49\u4e09\u6b21\u8d1d\u585e\u5c14\u66f2\u7ebf\uff1a<\/p>\n<pre data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;outline: 0px;border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;\"><span style=\"margin-bottom: -7px;outline: 0px;display: block;background: url(&quot;https:\/\/mmbiz.qpic.cn\/mmbiz_svg\/et9q9FvjBBpUicMKVMtSeQDgyqINI1HsdpKhgDJMO2NL24ydRicQET9E8ziaicb2189O2tFibZdqfIjgYzcDIaWEPBsUazIvNiasS3\/640?wx_fmt=svg&amp;&quot;) 10px 10px \/ 40px no-repeat rgb(40, 44, 52);height: 30px;width: 657px;border-radius: 5px;\"><\/span><code style=\"padding: 15px 16px 16px;outline: 0px;overflow-x: auto;color: rgb(171, 178, 191);display: -webkit-box;font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;font-size: 12px;background: rgb(40, 44, 52);border-radius: 5px;\"><span style=\"outline: 0px;color: rgb(224, 108, 117);line-height: 26px;\">animation-timing-function<\/span>:<span style=\"outline: 0px;color: rgb(224, 108, 117);line-height: 26px;\">cubic-bezier<\/span>(0<span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">.1<\/span>,0<span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">.7<\/span>,1<span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">.0<\/span>,0<span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">.1<\/span>);<\/code><\/pre>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u8fd9\u91cc\u6709\u4e2a\u975e\u5e38\u597d\u7528\u7684\u7f51\u7ad9 --<span style=\"outline: 0px;color: rgb(30, 107, 184);font-weight: bold;\">cubic-bezier<\/span><sup style=\"outline: 0px;line-height: 0;color: rgb(30, 107, 184);font-weight: bold;\">[5]<\/sup>\u7528\u4e8e\u521b\u5efa\u548c\u8c03\u8bd5\u751f\u6210\u4e0d\u540c\u7684\u8d1d\u585e\u5c14\u66f2\u7ebf\u53c2\u6570\u3002<\/p>\n<h3 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 30px;margin-bottom: 15px;outline: 0px;font-weight: bold;font-size: 20px;\">\u4e09\u6b21\u8d1d\u585e\u5c14\u66f2\u7ebf\u7f13\u52a8\u5bf9\u52a8\u753b\u7684\u5f71\u54cd<\/h3>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u5173\u4e8e\u7f13\u52a8\u51fd\u6570\u5bf9\u52a8\u753b\u7684\u5f71\u54cd\uff0c\u8fd9\u91cc\u6709\u4e00\u4e2a\u975e\u5e38\u597d\u7684\u793a\u4f8b\u3002\u8fd9\u91cc\u6211\u4eec\u4f7f\u7528\u4e86\u7eaf CSS \u5b9e\u73b0\u4e86\u4e00\u4e2a\u949f\u7684\u6548\u679c\uff0c\u5bf9\u4e8e\u5176\u4e2d\u7684\u52a8\u753b\u7684\u8fd0\u52a8\uff0c\u5982\u679c\u662f<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">animation-timing-function: linear<\/code>\uff0c\u6548\u679c\u5982\u4e0b\uff1a<\/p>\n<p style=\"outline: 0px;text-align: center;\"><img decoding=\"async\" class=\"rich_pages wxw-img js_insertlocalimg __bg_gif lazyload\" data-imgfileid=\"100014758\" data-ratio=\"0.4685714285714286\" data-s=\"300,640\"  data-type=\"gif\" data-w=\"350\" style=\"outline: 0px;visibility: visible !important;width: 350px !important;height: auto !important;\" data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214706370.gif\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\"  \/><noscript><img decoding=\"async\" class=\"rich_pages wxw-img js_insertlocalimg __bg_gif\" data-imgfileid=\"100014758\" data-ratio=\"0.4685714285714286\" data-s=\"300,640\"  data-type=\"gif\" data-w=\"350\" style=\"outline: 0px;visibility: visible !important;width: 350px !important;height: auto !important;\" src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214706370.gif\"  \/><\/noscript><\/p>\n<figure data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;outline: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;\"><figcaption style=\"margin-top: 5px;outline: 0px;text-align: center;color: rgb(136, 136, 136);font-size: 14px;\">b<\/figcaption><\/figure>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u800c\u5982\u679c\u6211\u4eec\u6211\u628a\u7f13\u52a8\u51fd\u6570\u66ff\u6362\u4e00\u4e0b\uff0c\u53d8\u6210<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">animation-timing-function: cubic-bezier(1,-0.21,.85,1.29)<\/code>\uff0c\u5b83\u7684\u66f2\u7ebf\u5bf9\u5e94\u5982\u4e0b\uff1a<\/p>\n<figure data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;outline: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;\"><img decoding=\"async\" class=\"rich_pages wxw-img lazyload\" data-imgfileid=\"100014755\" data-ratio=\"0.7495495495495496\"  data-type=\"png\" data-w=\"555\" style=\"margin-right: auto;margin-left: auto;outline: 0px;display: block;visibility: visible !important;width: 555px !important;height: auto !important;\" data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214721924.webp\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\"  \/><noscript><img decoding=\"async\" class=\"rich_pages wxw-img\" data-imgfileid=\"100014755\" data-ratio=\"0.7495495495495496\"  data-type=\"png\" data-w=\"555\" style=\"margin-right: auto;margin-left: auto;outline: 0px;display: block;visibility: visible !important;width: 555px !important;height: auto !important;\" src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214721924.webp\"  \/><\/noscript><\/figure>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u6574\u4e2a\u949f\u7684\u52a8\u753b\u5f8b\u52a8\u6548\u679c\u5c06\u53d8\u6210\u8fd9\u6837\uff0c\u5b8c\u5168\u4e0d\u4e00\u6837\u7684\u611f\u89c9\uff1a<\/p>\n<p style=\"outline: 0px;text-align: center;\"><img decoding=\"async\" class=\"rich_pages wxw-img js_insertlocalimg __bg_gif lazyload\" data-imgfileid=\"100014762\" data-ratio=\"0.4685714285714286\" data-s=\"300,640\"  data-type=\"gif\" data-w=\"350\" style=\"outline: 0px;visibility: visible !important;width: 350px !important;height: auto !important;\" data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214723750.gif\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\"  \/><noscript><img decoding=\"async\" class=\"rich_pages wxw-img js_insertlocalimg __bg_gif\" data-imgfileid=\"100014762\" data-ratio=\"0.4685714285714286\" data-s=\"300,640\"  data-type=\"gif\" data-w=\"350\" style=\"outline: 0px;visibility: visible !important;width: 350px !important;height: auto !important;\" src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214723750.gif\"  \/><\/noscript><\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\"><span style=\"outline: 0px;color: rgb(30, 107, 184);font-weight: bold;\">CodePen Demo - \u7f13\u52a8\u4e0d\u540c\u6548\u679c\u4e0d\u540c<\/span><sup style=\"outline: 0px;line-height: 0;color: rgb(30, 107, 184);font-weight: bold;\">[6]<\/sup><\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u5bf9\u4e8e\u8bb8\u591a\u7cbe\u76ca\u6c42\u7cbe\u7684\u52a8\u753b\uff0c\u5728\u8bbe\u8ba1\u4e2d\u5176\u5b9e\u90fd\u8003\u8651\u5230\u4e86\u7f13\u52a8\u51fd\u6570\u3002\u6211\u5f88\u4e45\u4e4b\u524d\u770b\u5230\u8fc7\u4e00\u7bc7\u300a\u57fa\u4e8e\u7269\u7406\u5b66\u7684\u52a8\u753b\u7528\u6237\u4f53\u9a8c\u8bbe\u8ba1\u300b\uff0c\u53ef\u60dc\u5982\u4eca\u5df2\u7ecf\u65e0\u6cd5\u627e\u5230\u539f\u6587\u3002\u5176\u4e2d\u4f20\u8fbe\u51fa\u7684\u4e00\u4e9b\u6982\u5ff5\u662f\uff0c\u52a8\u753b\u7684\u8bbe\u8ba1\u4f9d\u636e\u5b9e\u9645\u5728\u751f\u6d3b\u4e2d\u7684\u8868\u73b0\u53bb\u8003\u91cf\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u8b6c\u5982 linear \u8fd9\u4e2a\u7f13\u52a8\uff0c\u5b9e\u9645\u5e94\u7528\u4e8e\u67d0\u4e9b\u52a8\u753b\u4e2d\u4f1a\u663e\u5f97\u5f88\u4e0d\u81ea\u7136\uff0c\u56e0\u4e3a\u7531\u4e8e\u7a7a\u6c14\u963b\u529b\u7684\u5b58\u5728\uff0c\u7a0b\u5e8f\u6a21\u62df\u7684\u5300\u901f\u76f4\u7ebf\u8fd0\u52a8\u5728\u73b0\u5b9e\u751f\u6d3b\u4e2d\u662f\u5f88\u96be\u5b9e\u73b0\u7684\u3002\u56e0\u6b64\u5bf9\u4e8e\u8fd9\u6837\u4e00\u4e2a\u7528\u6237\u5e73\u65f6\u5f88\u5c11\u611f\u77e5\u5230\u7684\u8fd0\u52a8\u662f\u5f88\u96be\u5efa\u7acb\u4fe1\u4efb\u611f\u7684\u3002\u8fd9\u6837\u7684\u5300\u901f\u76f4\u7ebf\u8fd0\u52a8\u4e5f\u662f\u6211\u4eec\u5728\u8fdb\u884c\u52a8\u6548\u8bbe\u8ba1\u65f6\u9700\u8981\u6781\u529b\u907f\u514d\u7684\u3002<\/p>\n<h3 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 30px;margin-bottom: 15px;outline: 0px;font-weight: bold;font-size: 20px;\">\u6b65\u9aa4\u7f13\u52a8\u51fd\u6570<\/h3>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u63a5\u4e0b\u6765\u518d\u8bb2\u8bb2\u6b65\u9aa4\u7f13\u52a8\u51fd\u6570\u3002\u5728 CSS \u7684<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">animation-timing-function<\/code>\u4e2d\uff0c\u5b83\u6709\u5982\u4e0b\u51e0\u79cd\u8868\u73b0\u5f62\u6001\uff1a<\/p>\n<pre data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;outline: 0px;border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;\"><span style=\"margin-bottom: -7px;outline: 0px;display: block;background: url(&quot;https:\/\/mmbiz.qpic.cn\/mmbiz_svg\/et9q9FvjBBpUicMKVMtSeQDgyqINI1HsdpKhgDJMO2NL24ydRicQET9E8ziaicb2189O2tFibZdqfIjgYzcDIaWEPBsUazIvNiasS3\/640?wx_fmt=svg&amp;&quot;) 10px 10px \/ 40px no-repeat rgb(40, 44, 52);height: 30px;width: 657px;border-radius: 5px;\"><\/span><code style=\"padding: 15px 16px 16px;outline: 0px;overflow-x: auto;color: rgb(171, 178, 191);display: -webkit-box;font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;font-size: 12px;background: rgb(40, 44, 52);border-radius: 5px;\">{<span style=\"outline: 0px;color: rgb(92, 99, 112);font-style: italic;line-height: 26px;\">\/*Keywordvalues*\/<\/span><span style=\"outline: 0px;color: rgb(152, 195, 121);line-height: 26px;\">animation-timing-function<\/span>:step-start;<span style=\"outline: 0px;color: rgb(152, 195, 121);line-height: 26px;\">animation-timing-function<\/span>:step-end;<span style=\"outline: 0px;color: rgb(92, 99, 112);font-style: italic;line-height: 26px;\">\/*Functionvalues*\/<\/span><span style=\"outline: 0px;color: rgb(152, 195, 121);line-height: 26px;\">animation-timing-function<\/span>:<span style=\"outline: 0px;color: rgb(230, 192, 123);line-height: 26px;\">steps<\/span>(<span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">6<\/span>,start)animation-timing-function:<span style=\"outline: 0px;color: rgb(230, 192, 123);line-height: 26px;\">steps<\/span>(<span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">4<\/span>,end);}<\/code><\/pre>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u5728 CSS \u4e2d\uff0c\u4f7f\u7528\u6b65\u9aa4\u7f13\u52a8\u51fd\u6570\u6700\u591a\u7684\uff0c\u5c31\u662f\u5229\u7528\u5176\u6765\u5b9e\u73b0\u9010\u5e27\u52a8\u753b\u3002\u5047\u8bbe\u6211\u4eec\u6709\u8fd9\u6837\u4e00\u5f20\u56fe\uff08\u56fe\u7247\u5927\u5c0f\u4e3a<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">1536 x 256<\/code>\uff0c\u56fe\u7247\u6765\u6e90\u4e8e\u7f51\u7edc\uff09\uff1a<\/p>\n<figure data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;outline: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;\"><img decoding=\"async\" class=\"rich_pages wxw-img lazyload\" data-imgfileid=\"100014759\" data-ratio=\"0.16666666666666666\"  data-type=\"png\" data-w=\"1080\" style=\"margin-right: auto;margin-left: auto;outline: 0px;display: block;visibility: visible !important;width: 657px !important;height: auto !important;\" data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214735189.webp\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\"  \/><noscript><img decoding=\"async\" class=\"rich_pages wxw-img\" data-imgfileid=\"100014759\" data-ratio=\"0.16666666666666666\"  data-type=\"png\" data-w=\"1080\" style=\"margin-right: auto;margin-left: auto;outline: 0px;display: block;visibility: visible !important;width: 657px !important;height: auto !important;\" src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214735189.webp\"  \/><\/noscript><\/figure>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u53ef\u4ee5\u53d1\u73b0\u5b83\u5176\u5b9e\u662f\u4e00\u4e2a\u4eba\u7269\u884c\u8fdb\u8fc7\u7a0b\u4e2d\u7684 6 \u79cd\u72b6\u6001\uff0c\u6216\u8005\u53ef\u4ee5\u4e3a 6 \u5e27\uff0c\u6211\u4eec\u5229\u7528<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">animation-timing-function: steps(6)<\/code>\u53ef\u4ee5\u5c06\u5176\u7528\u4e00\u4e2a CSS \u52a8\u753b\u4e32\u8054\u8d77\u6765\uff0c\u4ee3\u7801\u975e\u5e38\u7684\u7b80\u5355\uff1a<\/p>\n<pre data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;outline: 0px;border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;\"><span style=\"margin-bottom: -7px;outline: 0px;display: block;background: url(&quot;https:\/\/mmbiz.qpic.cn\/mmbiz_svg\/et9q9FvjBBpUicMKVMtSeQDgyqINI1HsdpKhgDJMO2NL24ydRicQET9E8ziaicb2189O2tFibZdqfIjgYzcDIaWEPBsUazIvNiasS3\/640?wx_fmt=svg&amp;&quot;) 10px 10px \/ 40px no-repeat rgb(40, 44, 52);height: 30px;width: 657px;border-radius: 5px;\"><\/span><code style=\"padding: 15px 16px 16px;outline: 0px;overflow-x: auto;color: rgb(171, 178, 191);display: -webkit-box;font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;font-size: 12px;background: rgb(40, 44, 52);border-radius: 5px;\"><span style=\"outline: 0px;line-height: 26px;\">&lt;<span style=\"outline: 0px;color: rgb(224, 108, 117);line-height: 26px;\">div<\/span><span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">class<\/span>=<span style=\"outline: 0px;color: rgb(152, 195, 121);line-height: 26px;\">\"box\"<\/span>&gt;<\/span><span style=\"outline: 0px;line-height: 26px;\">&lt;\/<span style=\"outline: 0px;color: rgb(224, 108, 117);line-height: 26px;\">div<\/span>&gt;<\/span><\/code><\/pre>\n<pre data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;outline: 0px;border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;\"><span style=\"margin-bottom: -7px;outline: 0px;display: block;background: url(&quot;https:\/\/mmbiz.qpic.cn\/mmbiz_svg\/et9q9FvjBBpUicMKVMtSeQDgyqINI1HsdpKhgDJMO2NL24ydRicQET9E8ziaicb2189O2tFibZdqfIjgYzcDIaWEPBsUazIvNiasS3\/640?wx_fmt=svg&amp;&quot;) 10px 10px \/ 40px no-repeat rgb(40, 44, 52);height: 30px;width: 657px;border-radius: 5px;\"><\/span><code style=\"padding: 15px 16px 16px;outline: 0px;overflow-x: auto;color: rgb(171, 178, 191);display: -webkit-box;font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;font-size: 12px;background: rgb(40, 44, 52);border-radius: 5px;\"><span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">.box<\/span>{<span style=\"outline: 0px;color: rgb(152, 195, 121);line-height: 26px;\">width<\/span>:<span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">256px<\/span>;<span style=\"outline: 0px;color: rgb(152, 195, 121);line-height: 26px;\">height<\/span>:<span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">256px<\/span>;<span style=\"outline: 0px;color: rgb(152, 195, 121);line-height: 26px;\">background<\/span>:<span style=\"outline: 0px;color: rgb(230, 192, 123);line-height: 26px;\">url<\/span>(<span style=\"outline: 0px;color: rgb(152, 195, 121);line-height: 26px;\">'https:\/\/github.com\/iamalperen\/playground\/blob\/main\/SpriteSheetAnimation\/sprite.png?raw=true'<\/span>);<span style=\"outline: 0px;color: rgb(152, 195, 121);line-height: 26px;\">animation<\/span>:sprite.<span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">6s<\/span><span style=\"outline: 0px;color: rgb(230, 192, 123);line-height: 26px;\">steps<\/span>(<span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">6<\/span>,end)infinite;}<span style=\"outline: 0px;color: rgb(198, 120, 221);line-height: 26px;\">@keyframes<\/span>sprite{0%{<span style=\"outline: 0px;color: rgb(152, 195, 121);line-height: 26px;\">background-position<\/span>:<span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">0<\/span><span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">0<\/span>;}100%{<span style=\"outline: 0px;color: rgb(152, 195, 121);line-height: 26px;\">background-position<\/span>:-<span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">1536px<\/span><span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">0<\/span>;}}<\/code><\/pre>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u7b80\u5355\u89e3\u91ca\u4e00\u4e0b\u4e0a\u8ff0\u4ee3\u7801\uff0c\u9996\u5148\u8981\u77e5\u9053\uff0c\u521a\u597d<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">256 x 6 = 1536<\/code>\uff0c\u6240\u4ee5\u4e0a\u8ff0\u56fe\u7247\u5176\u5b9e\u53ef\u4ee5\u521a\u597d\u5747\u5206\u4e3a 6 \u6bb5\uff1a<\/p>\n<ol data-tool=\"mdnice\u7f16\u8f91\u5668\" class=\"list-paddingleft-1\" style=\"margin-top: 8px;margin-bottom: 8px;padding-left: 25px;outline: 0px;\">\n<li style=\"outline: 0px;\">\n<section style=\"margin-top: 5px;margin-bottom: 5px;outline: 0px;line-height: 26px;color: rgb(1, 1, 1);\">\u6211\u4eec\u8bbe\u5b9a\u4e86\u4e00\u4e2a\u5927\u5c0f\u90fd\u4e3a<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">256px<\/code>\u7684 div\uff0c\u7ed9\u8fd9\u4e2a div \u8d4b\u4e88\u4e86\u4e00\u4e2a<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">animation: sprite .6s steps(6) infinite<\/code>\u52a8\u753b\uff1b<\/section>\n<\/li>\n<li style=\"outline: 0px;\">\n<section style=\"margin-top: 5px;margin-bottom: 5px;outline: 0px;line-height: 26px;color: rgb(1, 1, 1);\">\u5176\u4e2d<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">steps(6)<\/code>\u7684\u610f\u601d\u5c31\u662f\u5c06\u8bbe\u5b9a\u7684 @keyframes \u52a8\u753b\u5206\u4e3a 6 \u6b21\uff086\u5e27\uff09\u6267\u884c\uff0c\u800c\u6574\u4f53\u7684\u52a8\u753b\u65f6\u95f4\u662f<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">0.6s<\/code>\uff0c\u6240\u4ee5\u6bcf\u4e00\u5e27\u7684\u505c\u987f\u65f6\u957f\u4e3a<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">0.1s<\/code>\uff1b<\/section>\n<\/li>\n<li style=\"outline: 0px;\">\n<section style=\"margin-top: 5px;margin-bottom: 5px;outline: 0px;line-height: 26px;color: rgb(1, 1, 1);\">\u52a8\u753b\u6548\u679c\u662f\u7531<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">background-position: 0 0<\/code>\u5230<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">background-position: -1536px 0<\/code>\uff0c\u7531\u4e8e\u4e0a\u8ff0\u7684 CSS \u4ee3\u7801\u6ca1\u6709\u8bbe\u7f6e<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">background-repeat<\/code>\uff0c\u6240\u4ee5\u5176\u5b9e<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">background-position: 0 0<\/code>\u662f\u7b49\u4ef7\u4e8e<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">background-position: -1536px 0<\/code>\uff0c\u5c31\u662f\u56fe\u7247\u5728\u6574\u4e2a\u52a8\u753b\u8fc7\u7a0b\u4e2d\u63a8\u8fdb\u4e86\u4e00\u8f6e\uff0c\u53ea\u4e0d\u8fc7\u6bcf\u4e00\u5e27\u505c\u5728\u4e86\u7279\u70b9\u7684\u5730\u65b9\uff0c\u4e00\u5171 6 \u5e27\uff1b<\/section>\n<\/li>\n<\/ol>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u5c06\u4e0a\u8ff0 1\u30012\u30013\uff0c3 \u4e2a\u6b65\u9aa4\u753b\u5728\u56fe\u4e0a\u7b80\u5355\u793a\u610f\uff1a<\/p>\n<figure data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;outline: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;\"><img decoding=\"async\" class=\"rich_pages wxw-img lazyload\" data-imgfileid=\"100014760\" data-ratio=\"0.25092592592592594\"  data-type=\"png\" data-w=\"1080\" style=\"margin-right: auto;margin-left: auto;outline: 0px;display: block;visibility: visible !important;width: 656.938px !important;height: auto !important;\" data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214735176.webp\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\"  \/><noscript><img decoding=\"async\" class=\"rich_pages wxw-img\" data-imgfileid=\"100014760\" data-ratio=\"0.25092592592592594\"  data-type=\"png\" data-w=\"1080\" style=\"margin-right: auto;margin-left: auto;outline: 0px;display: block;visibility: visible !important;width: 656.938px !important;height: auto !important;\" src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214735176.webp\"  \/><\/noscript><\/figure>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u4ece\u4e0a\u56fe\u53ef\u77e5\uff0c\u5176\u5b9e\u5728\u52a8\u753b\u8fc7\u7a0b\u4e2d\uff0c<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">background-position<\/code>\u7684\u53d6\u503c\u5176\u5b9e\u53ea\u6709<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">background-position: 0 0<\/code>\uff0c<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">background-position: -256px 0<\/code>\uff0c<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">background-position: -512px 0<\/code>\u4f9d\u6b21\u7c7b\u63a8\u4e00\u76f4\u5230<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">background-position: -1536px 0<\/code>\uff0c\u7531\u4e8e\u80cc\u666f\u7684 repeat \u7684\u7279\u6027\uff0c\u5176\u5b9e\u521a\u597d\u56de\u5230\u539f\u70b9\uff0c\u7531\u6b64\u53c8\u91cd\u65b0\u5f00\u59cb\u65b0\u4e00\u8f6e\u540c\u6837\u7684\u52a8\u753b\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u6240\u4ee5\uff0c\u6574\u4e2a\u52a8\u753b\u5c31\u4f1a\u662f\u8fd9\u6837\uff0c\u6bcf\u4e00\u5e27\u505c\u7559 0.1s \u540e\u5207\u6362\u5230\u4e0b\u4e00\u5e27\uff08\u6ce8\u610f\u8fd9\u91cc\u662f\u4e2a\u65e0\u9650\u5faa\u73af\u52a8\u753b\uff09\uff0c\uff1a<\/p>\n<figure data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;outline: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;\"><img decoding=\"async\" class=\"rich_pages wxw-img __bg_gif lazyload\" data-imgfileid=\"100014761\" data-ratio=\"0.9047619047619048\"  data-type=\"gif\" data-w=\"273\" style=\"margin-right: auto;margin-left: auto;outline: 0px;display: block;visibility: visible !important;width: 273px !important;height: auto !important;\" data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214736891.gif\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\"  \/><noscript><img decoding=\"async\" class=\"rich_pages wxw-img __bg_gif\" data-imgfileid=\"100014761\" data-ratio=\"0.9047619047619048\"  data-type=\"gif\" data-w=\"273\" style=\"margin-right: auto;margin-left: auto;outline: 0px;display: block;visibility: visible !important;width: 273px !important;height: auto !important;\" src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214736891.gif\"  \/><\/noscript><\/figure>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u5b8c\u6574\u7684\u4ee3\u7801\u4f60\u53ef\u4ee5\u6233\u8fd9\u91cc --<span style=\"outline: 0px;color: rgb(30, 107, 184);font-weight: bold;\">CodePen Demo -- Sprite Animation with steps()<\/span><sup style=\"outline: 0px;line-height: 0;color: rgb(30, 107, 184);font-weight: bold;\">[7]<\/sup><\/p>\n<h3 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 30px;margin-bottom: 15px;outline: 0px;font-weight: bold;font-size: 20px;\">animation-duration \u52a8\u753b\u957f\u77ed\u5bf9\u52a8\u753b\u7684\u5f71\u54cd<\/h3>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u5728\u8fd9\u91cc\u518d\u63d2\u5165\u4e00\u4e2a\u5c0f\u7ae0\u8282\uff0c<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">animation-duration<\/code>\u52a8\u753b\u957f\u77ed\u5bf9\u52a8\u753b\u7684\u5f71\u54cd\u4e5f\u662f\u975e\u5e38\u660e\u663e\u7684\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u5728\u4e0a\u8ff0\u4ee3\u7801\u7684\u57fa\u7840\u4e0a\uff0c\u6211\u4eec\u518d\u4fee\u6539<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">animation-duration<\/code>\uff0c\u7f29\u77ed\u6bcf\u4e00\u5e27\u7684\u65f6\u95f4\u5c31\u53ef\u4ee5\u8ba9\u6b65\u884c\u7684\u6548\u679c\u53d8\u6210\u8dd1\u6b65\u7684\u6548\u679c\uff0c\u540c\u7406\uff0c\u4e5f\u53ef\u4ee5\u589e\u52a0\u6bcf\u4e00\u5e27\u7684\u505c\u7559\u65f6\u95f4\u3002\u8ba9\u6bcf\u4e00\u6b65\u53d8\u5f97\u7f13\u6162\uff0c\u5c31\u50cf\u662f\u5728\u6b65\u884c\u4e00\u6837\u3002<\/p>\n<blockquote data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 20px;margin-bottom: 20px;padding: 10px 10px 10px 20px;outline: 0px;border-left-color: rgba(0, 0, 0, 0.4);color: rgb(106, 115, 125);font-size: 0.9em;border-top: none;border-right: none;border-bottom: none;overflow: auto;background: rgba(0, 0, 0, 0.05);\">\n<p style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;font-size: 16px;color: black;line-height: 26px;\">\u9700\u8981\u63d0\u51fa\u7684\u662f\uff0c\u4e0a\u6587\u8bf4\u7684\u6bcf\u4e00\u5e27\uff0c\u548c\u6d4f\u89c8\u5668\u6e32\u67d3\u8fc7\u7a0b\u4e2d\u7684 FPS \u7684\u6bcf\u4e00\u5e27\u4e0d\u662f\u540c\u4e00\u4e2a\u6982\u5ff5\u3002<\/p>\n<\/blockquote>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u770b\u770b\u6548\u679c\uff0c\u8bbe\u7f6e\u4e0d\u540c\u7684<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">animation-duration<\/code>\u7684\u6548\u679c\uff08\u8fd9\u91cc\u662f 0.6s -&gt; 0.2s\uff09\uff0cGIF \u5f55\u5c4f\u4e22\u5931\u4e86\u4e00\u4e9b\u5173\u952e\u5e27\uff0c\u5b9e\u9645\u6548\u679c\u4f1a\u66f4\u597d\u70b9\uff1a<\/p>\n<p style=\"outline: 0px;text-align: center;\"><img decoding=\"async\" class=\"rich_pages wxw-img js_insertlocalimg __bg_gif lazyload\" data-imgfileid=\"100014763\" data-ratio=\"0.87890625\" data-s=\"300,640\"  data-type=\"gif\" data-w=\"256\" style=\"outline: 0px;visibility: visible !important;width: 256px !important;height: auto !important;\" data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214741418.gif\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\"  \/><noscript><img decoding=\"async\" class=\"rich_pages wxw-img js_insertlocalimg __bg_gif\" data-imgfileid=\"100014763\" data-ratio=\"0.87890625\" data-s=\"300,640\"  data-type=\"gif\" data-w=\"256\" style=\"outline: 0px;visibility: visible !important;width: 256px !important;height: auto !important;\" src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214741418.gif\"  \/><\/noscript><\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u5f53\u7136\uff0c\u5728<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">steps()<\/code>\u4e2d\uff0c\u8fd8\u6709<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">steps(6, start)<\/code>\u548c<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">steps(6, end)<\/code>\u7684\u5dee\u5f02\uff0c\u4e5f\u5c31\u662f\u5176\u4e2d\u5173\u952e\u5b57<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">start<\/code>\u548c<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">end<\/code>\u7684\u5dee\u5f02\u3002\u5bf9\u4e8e\u4e0a\u8ff0\u7684\u65e0\u9650\u52a8\u753b\u800c\u8a00\uff0c\u5176\u5b9e\u57fa\u672c\u662f\u53ef\u4ee5\u5ffd\u7565\u4e0d\u8ba1\u7684\uff0c\u5b83\u4e3b\u8981\u662f\u63a7\u5236\u52a8\u753b\u7b2c\u4e00\u5e27\u7684\u5f00\u59cb\u548c\u6301\u7eed\u65f6\u957f\uff0c\u6bd4\u8f83\u5c0f\u7684\u4e00\u4e2a\u77e5\u8bc6\u70b9\u4f46\u662f\u60f3\u8bb2\u660e\u767d\u9700\u8981\u6bd4\u8f83\u957f\u7684\u7bc7\u5e45\uff0c\u9650\u4e8e\u672c\u6587\u7684\u5185\u5bb9\uff0c\u5728\u8fd9\u91cc\u4e0d\u505a\u5c55\u5f00\uff0c\u8bfb\u8005\u53ef\u4ee5\u81ea\u884c\u4e86\u89e3\u3002<\/p>\n<h3 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 30px;margin-bottom: 15px;outline: 0px;font-weight: bold;font-size: 20px;\">\u540c\u4e2a\u52a8\u753b\u6548\u679c\u7684\u8865\u95f4\u52a8\u753b\u548c\u9010\u5e27\u52a8\u753b\u6f14\u7ece\u5bf9\u6bd4<\/h3>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u4e0a\u8ff0\u7684\u4e09\u6b21\u8d1d\u585e\u5c14\u66f2\u7ebf\u7f13\u52a8\u548c\u6b65\u9aa4\u7f13\u52a8\uff0c\u5176\u5b9e\u5c31\u662f\u5bf9\u5e94\u7684\u8865\u95f4\u52a8\u753b\u548c\u9010\u5e27\u52a8\u753b\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u5bf9\u4e8e\u540c\u4e2a\u52a8\u753b\u800c\u8a00\uff0c\u6709\u7684\u65f6\u5019\u4e24\u79cd\u7f13\u52a8\u90fd\u662f\u9002\u7528\u7684\u3002\u6211\u4eec\u5728\u5177\u4f53\u4f7f\u7528\u7684\u65f6\u5019\u9700\u8981\u5177\u4f53\u5206\u6790\u9009\u53d6\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u5047\u8bbe\u6211\u4eec\u7528 CSS \u5b9e\u73b0\u4e86\u8fd9\u6837\u4e00\u4e2a\u56fe\u5f62\uff1a<\/p>\n<figure data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;outline: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;\"><img decoding=\"async\" class=\"rich_pages wxw-img lazyload\" data-imgfileid=\"100014764\" data-ratio=\"1.0177935943060499\"  data-type=\"png\" data-w=\"281\" style=\"margin-right: auto;margin-left: auto;outline: 0px;display: block;visibility: visible !important;width: 281px !important;height: auto !important;\" data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214753716.webp\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\"  \/><noscript><img decoding=\"async\" class=\"rich_pages wxw-img\" data-imgfileid=\"100014764\" data-ratio=\"1.0177935943060499\"  data-type=\"png\" data-w=\"281\" style=\"margin-right: auto;margin-left: auto;outline: 0px;display: block;visibility: visible !important;width: 281px !important;height: auto !important;\" src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214753716.webp\"  \/><\/noscript><\/figure>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u73b0\u5728\u60f3\u5229\u7528\u8fd9\u4e2a\u56fe\u5f62\u5236\u4f5c\u4e00\u4e2a Loading \u6548\u679c\uff0c\u5982\u679c\u5229\u7528\u8865\u95f4\u52a8\u753b\uff0c\u4e5f\u5c31\u662f\u4e09\u6b21\u8d1d\u585e\u5c14\u66f2\u7ebf\u7f13\u52a8\u7684\u8bdd\uff0c\u8ba9\u5b83\u65cb\u8f6c\u8d77\u6765\uff0c\u5f97\u5230\u7684\u6548\u679c\u975e\u5e38\u7684\u4e00\u822c\uff1a<\/p>\n<pre data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;outline: 0px;border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;\"><span style=\"margin-bottom: -7px;outline: 0px;display: block;background: url(&quot;https:\/\/mmbiz.qpic.cn\/mmbiz_svg\/et9q9FvjBBpUicMKVMtSeQDgyqINI1HsdpKhgDJMO2NL24ydRicQET9E8ziaicb2189O2tFibZdqfIjgYzcDIaWEPBsUazIvNiasS3\/640?wx_fmt=svg&amp;&quot;) 10px 10px \/ 40px no-repeat rgb(40, 44, 52);height: 30px;width: 657px;border-radius: 5px;\"><\/span><code style=\"padding: 15px 16px 16px;outline: 0px;overflow-x: auto;color: rgb(171, 178, 191);display: -webkit-box;font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;font-size: 12px;background: rgb(40, 44, 52);border-radius: 5px;\"><span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">.g-container<\/span>{<span style=\"outline: 0px;color: rgb(152, 195, 121);line-height: 26px;\">animation<\/span>:rotate<span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">2s<\/span>linearinfinite;}<span style=\"outline: 0px;color: rgb(198, 120, 221);line-height: 26px;\">@keyframes<\/span>rotate{0%{<span style=\"outline: 0px;color: rgb(152, 195, 121);line-height: 26px;\">transform<\/span>:<span style=\"outline: 0px;color: rgb(230, 192, 123);line-height: 26px;\">rotate<\/span>(<span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">0<\/span>);}100%{<span style=\"outline: 0px;color: rgb(152, 195, 121);line-height: 26px;\">transform<\/span>:<span style=\"outline: 0px;color: rgb(230, 192, 123);line-height: 26px;\">rotate<\/span>(<span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">360deg<\/span>);}}<\/code><\/pre>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u52a8\u753b\u6548\u679c\u5982\u4e0b\uff1a<\/p>\n<figure data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;outline: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;\"><img decoding=\"async\" class=\"rich_pages wxw-img __bg_gif lazyload\" data-imgfileid=\"100014767\" data-ratio=\"0.9501779359430605\"  data-type=\"gif\" data-w=\"281\" style=\"margin-right: auto;margin-left: auto;outline: 0px;display: block;visibility: visible !important;width: 281px !important;height: auto !important;\" data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214753598.gif\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\"  \/><noscript><img decoding=\"async\" class=\"rich_pages wxw-img __bg_gif\" data-imgfileid=\"100014767\" data-ratio=\"0.9501779359430605\"  data-type=\"gif\" data-w=\"281\" style=\"margin-right: auto;margin-left: auto;outline: 0px;display: block;visibility: visible !important;width: 281px !important;height: auto !important;\" src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214753598.gif\"  \/><\/noscript><\/figure>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u4f46\u662f\u5982\u679c\u8fd9\u91cc\uff0c\u6211\u4eec\u5c06\u8865\u95f4\u52a8\u753b\u6362\u6210\u9010\u5e27\u52a8\u753b\uff0c\u56e0\u4e3a\u6709 20 \u4e2a\u70b9\uff0c\u6240\u4ee5\u8bbe\u7f6e\u6210 steps(20)\uff0c\u518d\u770b\u770b\u6548\u679c\uff0c\u4f1a\u5f97\u5230\u5b8c\u5168\u4e0d\u4e00\u6837\u7684\u611f\u89c9\uff1a<\/p>\n<pre data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;outline: 0px;border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;\"><span style=\"margin-bottom: -7px;outline: 0px;display: block;background: url(&quot;https:\/\/mmbiz.qpic.cn\/mmbiz_svg\/et9q9FvjBBpUicMKVMtSeQDgyqINI1HsdpKhgDJMO2NL24ydRicQET9E8ziaicb2189O2tFibZdqfIjgYzcDIaWEPBsUazIvNiasS3\/640?wx_fmt=svg&amp;&quot;) 10px 10px \/ 40px no-repeat rgb(40, 44, 52);height: 30px;width: 657px;border-radius: 5px;\"><\/span><code style=\"padding: 15px 16px 16px;outline: 0px;overflow-x: auto;color: rgb(171, 178, 191);display: -webkit-box;font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;font-size: 12px;background: rgb(40, 44, 52);border-radius: 5px;\"><span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">.g-container<\/span>{<span style=\"outline: 0px;color: rgb(152, 195, 121);line-height: 26px;\">animation<\/span>:rotate<span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">2s<\/span><span style=\"outline: 0px;color: rgb(230, 192, 123);line-height: 26px;\">steps<\/span>(<span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">20<\/span>)infinite;}<span style=\"outline: 0px;color: rgb(198, 120, 221);line-height: 26px;\">@keyframes<\/span>rotate{0%{<span style=\"outline: 0px;color: rgb(152, 195, 121);line-height: 26px;\">transform<\/span>:<span style=\"outline: 0px;color: rgb(230, 192, 123);line-height: 26px;\">rotate<\/span>(<span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">0<\/span>);}100%{<span style=\"outline: 0px;color: rgb(152, 195, 121);line-height: 26px;\">transform<\/span>:<span style=\"outline: 0px;color: rgb(230, 192, 123);line-height: 26px;\">rotate<\/span>(<span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">360deg<\/span>);}}<\/code><\/pre>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u52a8\u753b\u6548\u679c\u5982\u4e0b\uff1a<\/p>\n<figure data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;outline: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;\"><img decoding=\"async\" class=\"rich_pages wxw-img __bg_gif lazyload\" data-imgfileid=\"100014765\" data-ratio=\"0.9501779359430605\"  data-type=\"gif\" data-w=\"281\" style=\"margin-right: auto;margin-left: auto;outline: 0px;display: block;visibility: visible !important;width: 281px !important;height: auto !important;\" data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214757912.gif\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\"  \/><noscript><img decoding=\"async\" class=\"rich_pages wxw-img __bg_gif\" data-imgfileid=\"100014765\" data-ratio=\"0.9501779359430605\"  data-type=\"gif\" data-w=\"281\" style=\"margin-right: auto;margin-left: auto;outline: 0px;display: block;visibility: visible !important;width: 281px !important;height: auto !important;\" src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214757912.gif\"  \/><\/noscript><\/figure>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u6574\u4e2a loading \u7684\u5708\u5708\u770b\u4e0a\u53bb\u597d\u50cf\u4e5f\u5728\u65cb\u8f6c\uff0c\u5b9e\u9645\u4e0a\u53ea\u662f 20 \u5e27\u5173\u952e\u5e27\u5728\u5207\u6362\uff0c\u6574\u4f53\u7684\u6548\u679c\u611f\u89c9\u66f4\u9002\u5408 Loading \u7684\u6548\u679c\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u56e0\u6b64\uff0c\u4e24\u79cd\u52a8\u753b\u6548\u679c\u90fd\u662f\u5f88\u6709\u5fc5\u8981\u638c\u63e1\u7684\uff0c\u5728\u5b9e\u9645\u4f7f\u7528\u7684\u65f6\u5019\u7075\u6d3b\u5c1d\u8bd5\uff0c\u9009\u62e9\u66f4\u9002\u5408\u7684\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u4e0a\u8ff0 DEMO \u6548\u679c\u5b8c\u6574\u7684\u4ee3\u7801\uff1a<span style=\"outline: 0px;color: rgb(30, 107, 184);font-weight: bold;\">CodePen Demo -- Scale Loading steps vs linear<\/span><sup style=\"outline: 0px;line-height: 0;color: rgb(30, 107, 184);font-weight: bold;\">[8]<\/sup><\/p>\n<h2 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 30px;margin-bottom: 15px;outline: 0px;font-weight: bold;font-size: 22px;\">animation-play-state<\/h2>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u63a5\u4e0b\u6765\uff0c\u6211\u4eec\u8bb2\u8bb2<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">animation-play-state<\/code>\uff0c\u987e\u540d\u601d\u4e49\uff0c\u5b83\u53ef\u4ee5\u63a7\u5236\u52a8\u753b\u7684\u72b6\u6001 -- \u8fd0\u884c\u6216\u8005\u6682\u505c\u3002\u7c7b\u4f3c\u4e8e\u89c6\u9891\u64ad\u653e\u5668\u7684\u5f00\u59cb\u548c\u6682\u505c\u3002\u662f CSS \u52a8\u753b\u4e2d\u6709\u9650\u7684\u63a7\u5236\u52a8\u753b\u72b6\u6001\u7684\u624b\u6bb5\u4e4b\u4e00\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u5b83\u7684\u53d6\u503c\u53ea\u6709\u4e24\u4e2a\uff08\u9ed8\u8ba4\u4e3a running\uff09\uff1a<\/p>\n<pre data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;outline: 0px;border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;\"><span style=\"margin-bottom: -7px;outline: 0px;display: block;background: url(&quot;https:\/\/mmbiz.qpic.cn\/mmbiz_svg\/et9q9FvjBBpUicMKVMtSeQDgyqINI1HsdpKhgDJMO2NL24ydRicQET9E8ziaicb2189O2tFibZdqfIjgYzcDIaWEPBsUazIvNiasS3\/640?wx_fmt=svg&amp;&quot;) 10px 10px \/ 40px no-repeat rgb(40, 44, 52);height: 30px;width: 657px;border-radius: 5px;\"><\/span><code style=\"padding: 15px 16px 16px;outline: 0px;overflow-x: auto;color: rgb(171, 178, 191);display: -webkit-box;font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;font-size: 12px;background: rgb(40, 44, 52);border-radius: 5px;\">{<span style=\"outline: 0px;color: rgb(152, 195, 121);line-height: 26px;\">animation-play-state<\/span>:paused|running;}<\/code><\/pre>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u4f7f\u7528\u8d77\u6765\u4e5f\u975e\u5e38\u7b80\u5355\uff0c\u770b\u4e0b\u9762\u8fd9\u4e2a\u4f8b\u5b50\uff0c\u6211\u4eec\u5728 hover \u6309\u94ae\u7684\u65f6\u5019\uff0c\u5b9e\u73b0\u52a8\u753b\u7684\u6682\u505c\uff1a<\/p>\n<pre data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;outline: 0px;border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;\"><span style=\"margin-bottom: -7px;outline: 0px;display: block;background: url(&quot;https:\/\/mmbiz.qpic.cn\/mmbiz_svg\/et9q9FvjBBpUicMKVMtSeQDgyqINI1HsdpKhgDJMO2NL24ydRicQET9E8ziaicb2189O2tFibZdqfIjgYzcDIaWEPBsUazIvNiasS3\/640?wx_fmt=svg&amp;&quot;) 10px 10px \/ 40px no-repeat rgb(40, 44, 52);height: 30px;width: 657px;border-radius: 5px;\"><\/span><code style=\"padding: 15px 16px 16px;outline: 0px;overflow-x: auto;color: rgb(171, 178, 191);display: -webkit-box;font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;font-size: 12px;background: rgb(40, 44, 52);border-radius: 5px;\"><span style=\"outline: 0px;line-height: 26px;\">&lt;<span style=\"outline: 0px;color: rgb(224, 108, 117);line-height: 26px;\">div<\/span><span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">class<\/span>=<span style=\"outline: 0px;color: rgb(152, 195, 121);line-height: 26px;\">\"btnstop\"<\/span>&gt;<\/span>stop<span style=\"outline: 0px;line-height: 26px;\">&lt;\/<span style=\"outline: 0px;color: rgb(224, 108, 117);line-height: 26px;\">div<\/span>&gt;<\/span><span style=\"outline: 0px;line-height: 26px;\">&lt;<span style=\"outline: 0px;color: rgb(224, 108, 117);line-height: 26px;\">div<\/span><span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">class<\/span>=<span style=\"outline: 0px;color: rgb(152, 195, 121);line-height: 26px;\">\"animation\"<\/span>&gt;<\/span><span style=\"outline: 0px;line-height: 26px;\">&lt;\/<span style=\"outline: 0px;color: rgb(224, 108, 117);line-height: 26px;\">div<\/span>&gt;<\/span><\/code><\/pre>\n<pre data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;outline: 0px;border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;\"><span style=\"margin-bottom: -7px;outline: 0px;display: block;background: url(&quot;https:\/\/mmbiz.qpic.cn\/mmbiz_svg\/et9q9FvjBBpUicMKVMtSeQDgyqINI1HsdpKhgDJMO2NL24ydRicQET9E8ziaicb2189O2tFibZdqfIjgYzcDIaWEPBsUazIvNiasS3\/640?wx_fmt=svg&amp;&quot;) 10px 10px \/ 40px no-repeat rgb(40, 44, 52);height: 30px;width: 657px;border-radius: 5px;\"><\/span><code style=\"padding: 15px 16px 16px;outline: 0px;overflow-x: auto;color: rgb(171, 178, 191);display: -webkit-box;font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;font-size: 12px;background: rgb(40, 44, 52);border-radius: 5px;\"><span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">.animation<\/span>{<span style=\"outline: 0px;color: rgb(152, 195, 121);line-height: 26px;\">width<\/span>:<span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">100px<\/span>;<span style=\"outline: 0px;color: rgb(152, 195, 121);line-height: 26px;\">height<\/span>:<span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">100px<\/span>;<span style=\"outline: 0px;color: rgb(152, 195, 121);line-height: 26px;\">background<\/span>:deeppink;<span style=\"outline: 0px;color: rgb(152, 195, 121);line-height: 26px;\">animation<\/span>:move<span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">2s<\/span>linearinfinitealternate;}<span style=\"outline: 0px;color: rgb(198, 120, 221);line-height: 26px;\">@keyframes<\/span>move{100%{<span style=\"outline: 0px;color: rgb(152, 195, 121);line-height: 26px;\">transform<\/span>:<span style=\"outline: 0px;color: rgb(230, 192, 123);line-height: 26px;\">translate<\/span>(<span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">100px<\/span>,<span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">0<\/span>);}}<span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">.stop<\/span><span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">:hover<\/span>~<span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">.animation<\/span>{<span style=\"outline: 0px;color: rgb(152, 195, 121);line-height: 26px;\">animation-play-state<\/span>:paused;}<\/code><\/pre>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u4e00\u4e2a\u7b80\u5355\u7684 CSS \u52a8\u753b\uff0c\u4f46\u662f\u5f53\u6211\u4eec hover \u6309\u94ae\u7684\u65f6\u5019\uff0c\u7ed9\u52a8\u753b\u5143\u7d20\u6dfb\u52a0\u4e0a<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">animation-play-state: paused<\/code>\uff1a<\/p>\n<p style=\"outline: 0px;text-align: center;\"><img decoding=\"async\" class=\"rich_pages wxw-img js_insertlocalimg __bg_gif lazyload\" data-imgfileid=\"100014766\" data-ratio=\"0.6102719033232629\" data-s=\"300,640\"  data-type=\"gif\" data-w=\"331\" style=\"outline: 0px;visibility: visible !important;width: 331px !important;height: auto !important;\" data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214800677.gif\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\"  \/><noscript><img decoding=\"async\" class=\"rich_pages wxw-img js_insertlocalimg __bg_gif\" data-imgfileid=\"100014766\" data-ratio=\"0.6102719033232629\" data-s=\"300,640\"  data-type=\"gif\" data-w=\"331\" style=\"outline: 0px;visibility: visible !important;width: 331px !important;height: auto !important;\" src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214800677.gif\"  \/><\/noscript><\/p>\n<h3 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 30px;margin-bottom: 15px;outline: 0px;font-weight: bold;font-size: 20px;\">animation-play-state \u5c0f\u6280\u5de7\uff0c\u9ed8\u8ba4\u6682\u505c\uff0c\u70b9\u51fb\u8fd0\u884c<\/h3>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u6b63\u5e38\u800c\u8a00\uff0c\u6309\u7167\u6b63\u5e38\u601d\u8def\u4f7f\u7528<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">animation-play-state: paused<\/code>\u662f\u975e\u5e38\u7b80\u5355\u7684\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u4f46\u662f\uff0c\u5982\u679c\u6211\u4eec\u60f3\u521b\u9020\u4e00\u4e9b\u6709\u610f\u601d\u7684 CSS \u52a8\u753b\u6548\u679c\uff0c\u4e0d\u5982\u53cd\u5176\u9053\u800c\u884c\u4e4b\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u6211\u4eec\u90fd\u77e5\u9053\uff0c\u6b63\u5e38\u60c5\u51b5\u4e0b\uff0c\u52a8\u753b\u5e94\u8be5\u662f\u8fd0\u884c\u72b6\u6001\uff0c\u90a3\u5982\u679c\u6211\u4eec\u5c06\u4e00\u4e9b\u52a8\u753b\u7684\u9ed8\u8ba4\u72b6\u6001\u8bbe\u7f6e\u4e3a\u6682\u505c\uff0c\u53ea\u6709\u5f53\u9f20\u6807\u70b9\u51fb\u6216\u8005 hover \u7684\u65f6\u5019\uff0c\u624d\u8bbe\u7f6e\u5176<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">animation-play-state: running<\/code>\uff0c\u8fd9\u6837\u5c31\u53ef\u4ee5\u5f97\u5230\u5f88\u591a\u6709\u8da3\u7684 CSS \u6548\u679c\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u770b\u4e2a\u5012\u9152\u7684\u4f8b\u5b50\uff0c\u8fd9\u662f\u4e00\u4e2a\u7eaf CSS \u52a8\u753b\uff0c\u4f46\u662f\u9ed8\u8ba4\u72b6\u6001\u4e0b\uff0c\u52a8\u753b\u5904\u4e8e<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">animation-play-state: paused<\/code>\uff0c\u4e5f\u5c31\u662f\u6682\u505c\u72b6\u6001\uff0c\u53ea\u6709\u5f53\u9f20\u6807\u70b9\u51fb\u676f\u5b50\u7684\u65f6\uff0c\u624d\u8bbe\u7f6e<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">animation-play-state: running<\/code>\uff0c\u8ba9\u9152\u5012\u4e0b\uff0c<\/p>\n<p style=\"outline: 0px;text-align: center;\"><img decoding=\"async\" class=\"rich_pages wxw-img js_insertlocalimg __bg_gif lazyload\" data-imgfileid=\"100014768\" data-ratio=\"1.2944606413994169\" data-s=\"300,640\"  data-type=\"gif\" data-w=\"343\" style=\"outline: 0px;visibility: visible !important;width: 343px !important;height: auto !important;\" data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214803963.gif\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\"  \/><noscript><img decoding=\"async\" class=\"rich_pages wxw-img js_insertlocalimg __bg_gif\" data-imgfileid=\"100014768\" data-ratio=\"1.2944606413994169\" data-s=\"300,640\"  data-type=\"gif\" data-w=\"343\" style=\"outline: 0px;visibility: visible !important;width: 343px !important;height: auto !important;\" src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214803963.gif\"  \/><\/noscript><span style=\"outline: 0px;letter-spacing: 0px;text-align: left;\"><\/span><\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u5b8c\u6574\u7684 DEMO \u4f60\u53ef\u4ee5\u6233\u8fd9\u91cc\uff1a<span style=\"outline: 0px;color: rgb(30, 107, 184);font-weight: bold;\">CodePen Demo -- CSS Beer!<\/span><sup style=\"outline: 0px;line-height: 0;color: rgb(30, 107, 184);font-weight: bold;\">[9]<\/sup><\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u5728\u975e\u5e38\u591a Web \u521b\u610f\u4ea4\u4e92\u52a8\u753b\u6211\u4eec\u90fd\u53ef\u4ee5\u770b\u5230\u8fd9\u4e2a\u6280\u5de7\u7684\u8eab\u5f71\u3002<\/p>\n<ol data-tool=\"mdnice\u7f16\u8f91\u5668\" class=\"list-paddingleft-1\" style=\"margin-top: 8px;margin-bottom: 8px;padding-left: 25px;outline: 0px;\">\n<li style=\"outline: 0px;\">\n<section style=\"margin-top: 5px;margin-bottom: 5px;outline: 0px;line-height: 26px;color: rgb(1, 1, 1);\">\u9875\u9762 render \u540e\uff0c\u65e0\u4efb\u4f55\u64cd\u4f5c\uff0c\u52a8\u753b\u4e0d\u4f1a\u5f00\u59cb\u3002\u53ea\u6709\u5f53\u9f20\u6807\u5bf9\u5143\u7d20\u8fdb\u884c<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">click<\/code>\uff0c\u901a\u8fc7\u89e6\u53d1\u5143\u7d20\u7684<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">:active<\/code>\u4f2a\u7c7b\u6548\u679c\u7684\u65f6\u5019\uff0c\u8d4b\u4e88\u52a8\u753b<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">animation-play-state: running<\/code>\uff0c\u52a8\u753b\u624d\u5f00\u59cb\u8fdb\u884c\uff1b<\/section>\n<\/li>\n<li style=\"outline: 0px;\">\n<section style=\"margin-top: 5px;margin-bottom: 5px;outline: 0px;line-height: 26px;color: rgb(1, 1, 1);\">\u52a8\u753b\u8fdb\u884c\u5230\u4efb\u610f\u65f6\u523b\uff0c\u9f20\u6807\u505c\u6b62\u70b9\u51fb\uff0c\u4f2a\u7c7b\u6d88\u5931\uff0c\u5219\u52a8\u753b\u505c\u6b62\uff1b<\/section>\n<\/li>\n<\/ol>\n<h2 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 30px;margin-bottom: 15px;outline: 0px;font-weight: bold;font-size: 22px;\">animation-fill-mode \u63a7\u5236\u5143\u7d20\u5728\u5404\u4e2a\u9636\u6bb5\u7684\u72b6\u6001<\/h2>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u4e0b\u4e00\u4e2a\u5c5e\u6027<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">animation-fill-mode<\/code>\uff0c\u5f88\u591a\u4eba\u4f1a\u8bef\u8ba4\u4e3a\u5b83\u53ea\u662f\u7528\u4e8e\u63a7\u5236\u5143\u7d20\u5728\u52a8\u753b\u7ed3\u675f\u540e\u662f\u5426\u590d\u4f4d\u3002\u8fd9\u4e2a\u5176\u5b9e\u662f\u4e0d\u51c6\u786e\u7684\uff0c\u4e0d\u5168\u9762\u7684\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u770b\u770b\u5b83\u7684\u53d6\u503c\uff1a<\/p>\n<pre data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;outline: 0px;border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;\"><span style=\"margin-bottom: -7px;outline: 0px;display: block;background: url(&quot;https:\/\/mmbiz.qpic.cn\/mmbiz_svg\/et9q9FvjBBpUicMKVMtSeQDgyqINI1HsdpKhgDJMO2NL24ydRicQET9E8ziaicb2189O2tFibZdqfIjgYzcDIaWEPBsUazIvNiasS3\/640?wx_fmt=svg&amp;&quot;) 10px 10px \/ 40px no-repeat rgb(40, 44, 52);height: 30px;width: 657px;border-radius: 5px;\"><\/span><code style=\"padding: 15px 16px 16px;outline: 0px;overflow-x: auto;color: rgb(171, 178, 191);display: -webkit-box;font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;font-size: 12px;background: rgb(40, 44, 52);border-radius: 5px;\">{\/\/\u9ed8\u8ba4\u503c\uff0c\u5f53\u52a8\u753b\u672a\u6267\u884c\u65f6\uff0c\u52a8\u753b\u5c06\u4e0d\u4f1a\u5c06\u4efb\u4f55\u6837\u5f0f\u5e94\u7528\u4e8e\u76ee\u6807\uff0c\u800c\u662f\u4f7f\u7528\u8d4b\u4e88\u7ed9\u8be5\u5143\u7d20\u7684CSS\u89c4\u5219\u6765\u663e\u793a\u8be5\u5143\u7d20\u7684\u72b6\u6001<span style=\"outline: 0px;color: rgb(152, 195, 121);line-height: 26px;\">animation-fill-mode<\/span>:none;\/\/\u52a8\u753b\u5c06\u5728\u5e94\u7528\u4e8e\u76ee\u6807\u65f6\u7acb\u5373\u5e94\u7528\u7b2c\u4e00\u4e2a\u5173\u952e\u5e27\u4e2d\u5b9a\u4e49\u7684\u503c\uff0c\u5e76\u5728`animation-delay`\u671f\u95f4\u4fdd\u7559\u6b64\u503c\uff0c<span style=\"outline: 0px;color: rgb(152, 195, 121);line-height: 26px;\">animation-fill-mode<\/span>:backwards;\/\/\u76ee\u6807\u5c06\u4fdd\u7559\u7531\u6267\u884c\u671f\u95f4\u9047\u5230\u7684\u6700\u540e\u4e00\u4e2a\u5173\u952e\u5e27\u8ba1\u7b97\u503c\u3002\u6700\u540e\u4e00\u4e2a\u5173\u952e\u5e27\u53d6\u51b3\u4e8e`animation-direction`\u548c`animation-iteration-count`<span style=\"outline: 0px;color: rgb(152, 195, 121);line-height: 26px;\">animation-fill-mode<\/span>:forwards;\/\/\u52a8\u753b\u5c06\u9075\u5faa`forwards`\u548c`backwards`\u7684\u89c4\u5219\uff0c\u4ece\u800c\u5728\u4e24\u4e2a\u65b9\u5411\u4e0a\u6269\u5c55\u52a8\u753b\u5c5e\u6027<span style=\"outline: 0px;color: rgb(152, 195, 121);line-height: 26px;\">animation-fill-mode<\/span>:both;}<\/code><\/pre>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u5bf9\u4e8e<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">animation-fill-mode<\/code>\u7684\u89e3\u8bfb\uff0c\u6211\u5728 Segment Fault \u4e0a\u7684\u4e00\u4e2a\u95ee\u7b54\u4e2d\uff08<span style=\"outline: 0px;color: rgb(30, 107, 184);font-weight: bold;\">SF - \u5982\u4f55\u7406\u89e3 animation-fill-mode<\/span><sup style=\"outline: 0px;line-height: 0;color: rgb(30, 107, 184);font-weight: bold;\">[10]<\/sup>\uff09\u770b\u5230\u4e86 4 \u526f\u5f88\u597d\u7684\u89e3\u8bfb\u56fe\uff0c\u8fd9\u91cc\u501f\u7528\u4e00\u4e0b\uff1a<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u5047\u8bbe HTML \u5982\u4e0b\uff1a<\/p>\n<pre data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;outline: 0px;border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;\"><span style=\"margin-bottom: -7px;outline: 0px;display: block;background: url(&quot;https:\/\/mmbiz.qpic.cn\/mmbiz_svg\/et9q9FvjBBpUicMKVMtSeQDgyqINI1HsdpKhgDJMO2NL24ydRicQET9E8ziaicb2189O2tFibZdqfIjgYzcDIaWEPBsUazIvNiasS3\/640?wx_fmt=svg&amp;&quot;) 10px 10px \/ 40px no-repeat rgb(40, 44, 52);height: 30px;width: 657px;border-radius: 5px;\"><\/span><code style=\"padding: 15px 16px 16px;outline: 0px;overflow-x: auto;color: rgb(171, 178, 191);display: -webkit-box;font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;font-size: 12px;background: rgb(40, 44, 52);border-radius: 5px;\"><span style=\"outline: 0px;line-height: 26px;\">&lt;<span style=\"outline: 0px;color: rgb(224, 108, 117);line-height: 26px;\">div<\/span><span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">class<\/span>=<span style=\"outline: 0px;color: rgb(152, 195, 121);line-height: 26px;\">\"box\"<\/span>&gt;<\/span><span style=\"outline: 0px;line-height: 26px;\">&lt;\/<span style=\"outline: 0px;color: rgb(224, 108, 117);line-height: 26px;\">div<\/span>&gt;<\/span><\/code><\/pre>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">CSS\u5982\u4e0b\uff1a<\/p>\n<pre data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;outline: 0px;border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;\"><span style=\"margin-bottom: -7px;outline: 0px;display: block;background: url(&quot;https:\/\/mmbiz.qpic.cn\/mmbiz_svg\/et9q9FvjBBpUicMKVMtSeQDgyqINI1HsdpKhgDJMO2NL24ydRicQET9E8ziaicb2189O2tFibZdqfIjgYzcDIaWEPBsUazIvNiasS3\/640?wx_fmt=svg&amp;&quot;) 10px 10px \/ 40px no-repeat rgb(40, 44, 52);height: 30px;width: 657px;border-radius: 5px;\"><\/span><code style=\"padding: 15px 16px 16px;outline: 0px;overflow-x: auto;color: rgb(171, 178, 191);display: -webkit-box;font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;font-size: 12px;background: rgb(40, 44, 52);border-radius: 5px;\"><span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">.box<\/span>{<span style=\"outline: 0px;color: rgb(152, 195, 121);line-height: 26px;\">transform<\/span>:<span style=\"outline: 0px;color: rgb(230, 192, 123);line-height: 26px;\">translateY<\/span>(<span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">0<\/span>);}<span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">.box<\/span><span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">.on<\/span>{<span style=\"outline: 0px;color: rgb(152, 195, 121);line-height: 26px;\">animation<\/span>:move<span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">1s<\/span>;}<span style=\"outline: 0px;color: rgb(198, 120, 221);line-height: 26px;\">@keyframes<\/span>move{<span style=\"outline: 0px;color: rgb(224, 108, 117);line-height: 26px;\">from<\/span>{<span style=\"outline: 0px;color: rgb(152, 195, 121);line-height: 26px;\">transform<\/span>:<span style=\"outline: 0px;color: rgb(230, 192, 123);line-height: 26px;\">translateY<\/span>(-<span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">50px<\/span>)}<span style=\"outline: 0px;color: rgb(224, 108, 117);line-height: 26px;\">to<\/span>{<span style=\"outline: 0px;color: rgb(152, 195, 121);line-height: 26px;\">transform<\/span>:<span style=\"outline: 0px;color: rgb(230, 192, 123);line-height: 26px;\">translateY<\/span>(<span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">50px<\/span>)}}<\/code><\/pre>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u4f7f\u7528\u56fe\u7247\u6765\u8868\u793a<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">translateY<\/code>\u7684\u503c\u4e0e<strong style=\"outline: 0px;\">\u65f6\u95f4<\/strong>\u7684\u5173\u7cfb\uff1a<\/p>\n<ul data-tool=\"mdnice\u7f16\u8f91\u5668\" class=\"list-paddingleft-1\" style=\"margin-top: 8px;margin-bottom: 8px;padding-left: 25px;outline: 0px;\">\n<li style=\"outline: 0px;\">\n<section style=\"margin-top: 5px;margin-bottom: 5px;outline: 0px;line-height: 26px;color: rgb(1, 1, 1);\">\u6a2a\u8f74\u4e3a\u8868\u793a<strong style=\"outline: 0px;color: black;\">\u65f6\u95f4<\/strong>\uff0c\u4e3a 0 \u65f6\u8868\u793a\u52a8\u753b\u5f00\u59cb\u7684\u65f6\u95f4\uff0c\u4e5f\u5c31\u662f\u5411 box \u52a0\u4e0a on \u7c7b\u540d\u7684\u65f6\u95f4\uff0c\u6a2a\u8f74\u4e00\u683c\u8868\u793a 0.5s<\/section>\n<\/li>\n<li style=\"outline: 0px;\">\n<section style=\"margin-top: 5px;margin-bottom: 5px;outline: 0px;line-height: 26px;color: rgb(1, 1, 1);\">\u7eb5\u8f74\u8868\u793a<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">translateY<\/code>\u7684\u503c\uff0c\u4e3a 0 \u65f6\u8868\u793a<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">translateY<\/code>\u7684\u503c\u4e3a 0\uff0c\u7eb5\u8f74\u4e00\u683c\u8868\u793a<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">50px<\/code><\/section>\n<\/li>\n<\/ul>\n<ol data-tool=\"mdnice\u7f16\u8f91\u5668\" class=\"list-paddingleft-1\" style=\"margin-top: 8px;margin-bottom: 8px;padding-left: 25px;outline: 0px;\">\n<li style=\"outline: 0px;\">\n<section style=\"margin-top: 5px;margin-bottom: 5px;outline: 0px;line-height: 26px;color: rgb(1, 1, 1);\"><code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">animation-fill-mode: none<\/code>\u8868\u73b0\u5982\u56fe\uff1a<\/section>\n<\/li>\n<\/ol>\n<figure data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;outline: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;\"><img decoding=\"async\" class=\"rich_pages wxw-img lazyload\" data-imgfileid=\"100014772\" data-ratio=\"0.875\"  data-type=\"png\" data-w=\"400\" style=\"margin-right: auto;margin-left: auto;outline: 0px;display: block;visibility: visible !important;width: 400px !important;height: auto !important;\" data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214821147.webp\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\"  \/><noscript><img decoding=\"async\" class=\"rich_pages wxw-img\" data-imgfileid=\"100014772\" data-ratio=\"0.875\"  data-type=\"png\" data-w=\"400\" style=\"margin-right: auto;margin-left: auto;outline: 0px;display: block;visibility: visible !important;width: 400px !important;height: auto !important;\" src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214821147.webp\"  \/><\/noscript><\/figure>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u4e00\u53e5\u8bdd\u603b\u7ed3\uff0c\u5143\u7d20\u5728\u52a8\u753b\u65f6\u95f4\u4e4b\u5916\uff0c\u6837\u5f0f\u53ea\u53d7\u5230\u5b83\u7684 CSS \u89c4\u5219\u9650\u5236\uff0c\u4e0e @keyframes \u5185\u7684\u5173\u952e\u5e27\u5b9a\u4e49\u65e0\u5173\u3002<\/p>\n<ol start=\"2\" data-tool=\"mdnice\u7f16\u8f91\u5668\" class=\"list-paddingleft-1\" style=\"margin-top: 8px;margin-bottom: 8px;padding-left: 25px;outline: 0px;\">\n<li style=\"outline: 0px;\">\n<section style=\"margin-top: 5px;margin-bottom: 5px;outline: 0px;line-height: 26px;color: rgb(1, 1, 1);\"><code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">animation-fill-mode: backwards<\/code>\u8868\u73b0\u5982\u56fe\uff1a<\/section>\n<\/li>\n<\/ol>\n<figure data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;outline: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;\"><img decoding=\"async\" class=\"rich_pages wxw-img lazyload\" data-imgfileid=\"100014773\" data-ratio=\"0.875\"  data-type=\"png\" data-w=\"400\" style=\"margin-right: auto;margin-left: auto;outline: 0px;display: block;visibility: visible !important;width: 400px !important;height: auto !important;\" data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214822845.webp\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\"  \/><noscript><img decoding=\"async\" class=\"rich_pages wxw-img\" data-imgfileid=\"100014773\" data-ratio=\"0.875\"  data-type=\"png\" data-w=\"400\" style=\"margin-right: auto;margin-left: auto;outline: 0px;display: block;visibility: visible !important;width: 400px !important;height: auto !important;\" src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214822845.webp\"  \/><\/noscript><\/figure>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u4e00\u53e5\u8bdd\u603b\u7ed3\uff0c\u5143\u7d20\u5728\u52a8\u753b\u5f00\u59cb\u4e4b\u524d\uff08\u5305\u542b\u672a\u89e6\u53d1\u52a8\u753b\u9636\u6bb5\u53ca<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">animation-delay<\/code>\u671f\u95f4\uff09\u7684\u6837\u5f0f\u4e3a\u52a8\u753b\u8fd0\u884c\u65f6\u7684\u7b2c\u4e00\u5e27\uff0c\u800c\u52a8\u753b\u7ed3\u675f\u540e\u7684\u6837\u5f0f\u5219\u6062\u590d\u4e3a CSS \u89c4\u5219\u8bbe\u5b9a\u7684\u6837\u5f0f\u3002<\/p>\n<ol start=\"3\" data-tool=\"mdnice\u7f16\u8f91\u5668\" class=\"list-paddingleft-1\" style=\"margin-top: 8px;margin-bottom: 8px;padding-left: 25px;outline: 0px;\">\n<li style=\"outline: 0px;\">\n<section style=\"margin-top: 5px;margin-bottom: 5px;outline: 0px;line-height: 26px;color: rgb(1, 1, 1);\"><code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">animation-fill-mode: forwards<\/code>\u8868\u73b0\u5982\u56fe\uff1a<\/section>\n<\/li>\n<\/ol>\n<figure data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;outline: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;\"><img decoding=\"async\" class=\"rich_pages wxw-img lazyload\" data-imgfileid=\"100014769\" data-ratio=\"0.875\"  data-type=\"png\" data-w=\"400\" style=\"margin-right: auto;margin-left: auto;outline: 0px;display: block;visibility: visible !important;width: 400px !important;height: auto !important;\" data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214822897.webp\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\"  \/><noscript><img decoding=\"async\" class=\"rich_pages wxw-img\" data-imgfileid=\"100014769\" data-ratio=\"0.875\"  data-type=\"png\" data-w=\"400\" style=\"margin-right: auto;margin-left: auto;outline: 0px;display: block;visibility: visible !important;width: 400px !important;height: auto !important;\" src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214822897.webp\"  \/><\/noscript><\/figure>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u4e00\u53e5\u8bdd\u603b\u7ed3\uff0c\u5143\u7d20\u5728\u52a8\u753b\u5f00\u59cb\u4e4b\u524d\u7684\u6837\u5f0f\u4e3a CSS \u89c4\u5219\u8bbe\u5b9a\u7684\u6837\u5f0f\uff0c\u800c\u52a8\u753b\u7ed3\u675f\u540e\u7684\u6837\u5f0f\u5219\u8868\u73b0\u4e3a\u7531\u6267\u884c\u671f\u95f4\u9047\u5230\u7684\u6700\u540e\u4e00\u4e2a\u5173\u952e\u5e27\u8ba1\u7b97\u503c\uff08\u4e5f\u5c31\u662f\u505c\u5728\u6700\u540e\u4e00\u5e27\uff09\u3002<\/p>\n<ol start=\"4\" data-tool=\"mdnice\u7f16\u8f91\u5668\" class=\"list-paddingleft-1\" style=\"margin-top: 8px;margin-bottom: 8px;padding-left: 25px;outline: 0px;\">\n<li style=\"outline: 0px;\">\n<section style=\"margin-top: 5px;margin-bottom: 5px;outline: 0px;line-height: 26px;color: rgb(1, 1, 1);\"><code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">animation-fill-mode: both<\/code>\u8868\u73b0\u5982\u56fe\uff1a<\/section>\n<\/li>\n<\/ol>\n<figure data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;outline: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;\"><img decoding=\"async\" class=\"rich_pages wxw-img lazyload\" data-imgfileid=\"100014770\" data-ratio=\"0.875\"  data-type=\"png\" data-w=\"400\" style=\"margin-right: auto;margin-left: auto;outline: 0px;display: block;visibility: visible !important;width: 400px !important;height: auto !important;\" data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214823513.webp\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\"  \/><noscript><img decoding=\"async\" class=\"rich_pages wxw-img\" data-imgfileid=\"100014770\" data-ratio=\"0.875\"  data-type=\"png\" data-w=\"400\" style=\"margin-right: auto;margin-left: auto;outline: 0px;display: block;visibility: visible !important;width: 400px !important;height: auto !important;\" src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214823513.webp\"  \/><\/noscript><\/figure>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u4e00\u53e5\u8bdd\u603b\u7ed3\uff0c\u7efc\u5408\u4e86<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">animation-fill-mode: backwards<\/code>\u548c<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">animation-fill-mode: forwards<\/code>\u7684\u8bbe\u5b9a\u3002\u52a8\u753b\u5f00\u59cb\u524d\u7684\u6837\u5f0f\u4e3a\u52a8\u753b\u8fd0\u884c\u65f6\u7684\u7b2c\u4e00\u5e27\uff0c\u52a8\u753b\u7ed3\u675f\u540e\u505c\u5728\u6700\u540e\u4e00\u5e27\u3002<\/p>\n<h2 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 30px;margin-bottom: 15px;outline: 0px;font-weight: bold;font-size: 22px;\">animation-iteration-count\/animation-direction \u52a8\u753b\u5faa\u73af\u6b21\u6570\u548c\u65b9\u5411<\/h2>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u8bb2\u5230\u4e86<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">animation-fill-mode<\/code>\uff0c\u6211\u4eec\u5c31\u53ef\u4ee5\u987a\u5e26\u8bb2\u8bb2\u8fd9\u4e2a\u4e24\u4e2a\u6bd4\u8f83\u597d\u7406\u89e3\u7684\u5c5e\u6027 --<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">animation-iteration-count<\/code>\u548c<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">animation-direction<\/code><\/p>\n<ul data-tool=\"mdnice\u7f16\u8f91\u5668\" class=\"list-paddingleft-1\" style=\"margin-top: 8px;margin-bottom: 8px;padding-left: 25px;outline: 0px;\">\n<li style=\"outline: 0px;\">\n<section style=\"margin-top: 5px;margin-bottom: 5px;outline: 0px;line-height: 26px;color: rgb(1, 1, 1);\"><code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">animation-iteration-count<\/code>\u63a7\u5236\u52a8\u753b\u8fd0\u884c\u7684\u6b21\u6570\uff0c\u53ef\u4ee5\u662f\u6570\u5b57\u6216\u8005<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">infinite<\/code>\uff0c\u6ce8\u610f\uff0c\u6570\u5b57\u53ef\u4ee5\u662f\u5c0f\u6570<\/section>\n<\/li>\n<li style=\"outline: 0px;\">\n<section style=\"margin-top: 5px;margin-bottom: 5px;outline: 0px;line-height: 26px;color: rgb(1, 1, 1);\"><code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">animation-direction<\/code>\u63a7\u5236\u52a8\u753b\u7684\u65b9\u5411\uff0c\u6b63\u5411\u3001\u53cd\u5411\u3001\u6b63\u5411\u4ea4\u66ff\u4e0e\u53cd\u5411\u4ea4\u66ff<\/section>\n<\/li>\n<\/ul>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u5728\u4e0a\u9762\u8bb2\u8ff0<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">animation-fill-mode<\/code>\u65f6\uff0c\u6211\u4f7f\u7528\u4e86<strong style=\"outline: 0px;\">\u52a8\u753b\u8fd0\u884c\u65f6\u7684\u7b2c\u4e00\u5e27<\/strong>\u66ff\u4ee3\u4e86@keyframes \u4e2d\u5b9a\u4e49\u7684\u7b2c\u4e00\u5e27\u8fd9\u79cd\u8bf4\u6cd5\uff0c\u56e0\u4e3a\u52a8\u753b\u8fd0\u884c\u7684\u7b2c\u4e00\u5e27\u548c\u6700\u540e\u4e00\u5e27\u7684\u5b9e\u9645\u72b6\u6001\u8fd8\u4f1a\u53d7\u5230\u52a8\u753b\u8fd0\u884c\u65b9\u5411<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">animation-direction<\/code>\u548c<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">animation-iteration-count<\/code>\u7684\u5f71\u54cd\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u5728 CSS \u52a8\u753b\u4e2d\uff0c\u7531<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">animation-iteration-count<\/code>\u548c<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">animation-direction<\/code>\u5171\u540c\u51b3\u5b9a\u52a8\u753b\u8fd0\u884c\u65f6\u7684\u7b2c\u4e00\u5e27\u548c\u6700\u540e\u4e00\u5e27\u7684\u72b6\u6001\u3002<\/p>\n<ol data-tool=\"mdnice\u7f16\u8f91\u5668\" class=\"list-paddingleft-1\" style=\"margin-top: 8px;margin-bottom: 8px;padding-left: 25px;outline: 0px;\">\n<li style=\"outline: 0px;\">\n<section style=\"margin-top: 5px;margin-bottom: 5px;outline: 0px;line-height: 26px;color: rgb(1, 1, 1);\">\u52a8\u753b\u8fd0\u884c\u7684\u7b2c\u4e00\u5e27\u7531<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">animation-direction<\/code>\u51b3\u5b9a<\/section>\n<\/li>\n<li style=\"outline: 0px;\">\n<section style=\"margin-top: 5px;margin-bottom: 5px;outline: 0px;line-height: 26px;color: rgb(1, 1, 1);\">\u52a8\u753b\u8fd0\u884c\u7684\u6700\u540e\u4e00\u5e27\u7531<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">animation-iteration-count<\/code>\u548c<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">animation-direction<\/code>\u51b3\u5b9a<\/section>\n<\/li>\n<\/ol>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u52a8\u753b\u7684\u6700\u540e\u4e00\u5e27\uff0c\u4e5f\u5c31\u662f\u52a8\u753b\u8fd0\u884c\u7684\u6700\u7ec8\u72b6\u6001\uff0c\u5e76\u4e14\u6211\u4eec\u53ef\u4ee5\u5229\u7528<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">animation-fill-mode: forwards<\/code>\u8ba9\u52a8\u753b\u5728\u7ed3\u675f\u540e\u505c\u7559\u5728\u8fd9\u4e00\u5e27\uff0c\u8fd9\u4e2a\u8fd8\u662f\u6bd4\u8f83\u597d\u7406\u89e3\u7684\uff0c\u4f46\u662f<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">animation-fill-mode: backwards<\/code>\u548c<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">animation-direction<\/code>\u7684\u5173\u7cfb\u5f88\u5bb9\u6613\u5f04\u4e0d\u6e05\u695a\uff0c\u8fd9\u91cc\u7b80\u7b54\u8bb2\u89e3\u4e0b\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u8bbe\u7f6e\u4e00\u4e2a<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">100px x 100px<\/code>\u7684\u6ed1\u5757\uff0c\u5728\u4e00\u4e2a<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">400px x 100px<\/code>\u7684\u5bb9\u5668\u4e2d\uff0c\u5176\u4ee3\u7801\u5982\u4e0b\uff1a<\/p>\n<pre data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;outline: 0px;border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;\"><span style=\"margin-bottom: -7px;outline: 0px;display: block;background: url(&quot;https:\/\/mmbiz.qpic.cn\/mmbiz_svg\/et9q9FvjBBpUicMKVMtSeQDgyqINI1HsdpKhgDJMO2NL24ydRicQET9E8ziaicb2189O2tFibZdqfIjgYzcDIaWEPBsUazIvNiasS3\/640?wx_fmt=svg&amp;&quot;) 10px 10px \/ 40px no-repeat rgb(40, 44, 52);height: 30px;width: 657px;border-radius: 5px;\"><\/span><code style=\"padding: 15px 16px 16px;outline: 0px;overflow-x: auto;color: rgb(171, 178, 191);display: -webkit-box;font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;font-size: 12px;background: rgb(40, 44, 52);border-radius: 5px;\"><span style=\"outline: 0px;line-height: 26px;\">&lt;<span style=\"outline: 0px;color: rgb(224, 108, 117);line-height: 26px;\">div<\/span><span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">class<\/span>=<span style=\"outline: 0px;color: rgb(152, 195, 121);line-height: 26px;\">\"g-father\"<\/span>&gt;<\/span><span style=\"outline: 0px;line-height: 26px;\">&lt;<span style=\"outline: 0px;color: rgb(224, 108, 117);line-height: 26px;\">div<\/span><span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">class<\/span>=<span style=\"outline: 0px;color: rgb(152, 195, 121);line-height: 26px;\">\"g-box\"<\/span>&gt;<\/span><span style=\"outline: 0px;line-height: 26px;\">&lt;\/<span style=\"outline: 0px;color: rgb(224, 108, 117);line-height: 26px;\">div<\/span>&gt;<\/span><span style=\"outline: 0px;line-height: 26px;\">&lt;\/<span style=\"outline: 0px;color: rgb(224, 108, 117);line-height: 26px;\">div<\/span>&gt;<\/span><\/code><\/pre>\n<pre data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;outline: 0px;border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;\"><span style=\"margin-bottom: -7px;outline: 0px;display: block;background: url(&quot;https:\/\/mmbiz.qpic.cn\/mmbiz_svg\/et9q9FvjBBpUicMKVMtSeQDgyqINI1HsdpKhgDJMO2NL24ydRicQET9E8ziaicb2189O2tFibZdqfIjgYzcDIaWEPBsUazIvNiasS3\/640?wx_fmt=svg&amp;&quot;) 10px 10px \/ 40px no-repeat rgb(40, 44, 52);height: 30px;width: 657px;border-radius: 5px;\"><\/span><code style=\"padding: 15px 16px 16px;outline: 0px;overflow-x: auto;color: rgb(171, 178, 191);display: -webkit-box;font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;font-size: 12px;background: rgb(40, 44, 52);border-radius: 5px;\"><span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">.g-father<\/span>{<span style=\"outline: 0px;color: rgb(152, 195, 121);line-height: 26px;\">width<\/span>:<span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">400px<\/span>;<span style=\"outline: 0px;color: rgb(152, 195, 121);line-height: 26px;\">height<\/span>:<span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">100px<\/span>;<span style=\"outline: 0px;color: rgb(152, 195, 121);line-height: 26px;\">border<\/span>:<span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">1px<\/span>solid<span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">#000<\/span>;}<span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">.g-box<\/span>{<span style=\"outline: 0px;color: rgb(152, 195, 121);line-height: 26px;\">width<\/span>:<span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">100px<\/span>;<span style=\"outline: 0px;color: rgb(152, 195, 121);line-height: 26px;\">height<\/span>:<span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">100px<\/span>;<span style=\"outline: 0px;color: rgb(152, 195, 121);line-height: 26px;\">background<\/span>:<span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">#333<\/span>;}<\/code><\/pre>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u8868\u73b0\u5982\u4e0b\uff1a<\/p>\n<figure data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;outline: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;\"><img decoding=\"async\" class=\"rich_pages wxw-img lazyload\" data-imgfileid=\"100014771\" data-ratio=\"0.3055555555555556\"  data-type=\"png\" data-w=\"468\" style=\"margin-right: auto;margin-left: auto;outline: 0px;display: block;visibility: visible !important;width: 468px !important;height: auto !important;\" data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214823944.webp\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\"  \/><noscript><img decoding=\"async\" class=\"rich_pages wxw-img\" data-imgfileid=\"100014771\" data-ratio=\"0.3055555555555556\"  data-type=\"png\" data-w=\"468\" style=\"margin-right: auto;margin-left: auto;outline: 0px;display: block;visibility: visible !important;width: 468px !important;height: auto !important;\" src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214823944.webp\"  \/><\/noscript><\/figure>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u90a3\u4e48\uff0c\u52a0\u5165<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">animation<\/code>\u4e4b\u540e\uff0c\u5728\u4e0d\u540c\u7684<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">animation-iteration-count<\/code>\u548c<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">animation-direction<\/code>\u4f5c\u7528\u4e0b\uff0c\u52a8\u753b\u7684\u521d\u59cb\u548c\u7ed3\u675f\u72b6\u6001\u90fd\u4e0d\u4e00\u6837\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u5982\u679c\u8bbe\u7f6e\u4e86<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">animation-fill-mode: backwards<\/code>\uff0c\u5219\u5143\u7d20\u5728\u52a8\u753b\u672a\u5f00\u59cb\u524d\u7684\u72b6\u6001\u7531<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">animation-direction<\/code>\u51b3\u5b9a\uff1a<\/p>\n<pre data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;outline: 0px;border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;\"><span style=\"margin-bottom: -7px;outline: 0px;display: block;background: url(&quot;https:\/\/mmbiz.qpic.cn\/mmbiz_svg\/et9q9FvjBBpUicMKVMtSeQDgyqINI1HsdpKhgDJMO2NL24ydRicQET9E8ziaicb2189O2tFibZdqfIjgYzcDIaWEPBsUazIvNiasS3\/640?wx_fmt=svg&amp;&quot;) 10px 10px \/ 40px no-repeat rgb(40, 44, 52);height: 30px;width: 657px;border-radius: 5px;\"><\/span><code style=\"padding: 15px 16px 16px;outline: 0px;overflow-x: auto;color: rgb(171, 178, 191);display: -webkit-box;font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;font-size: 12px;background: rgb(40, 44, 52);border-radius: 5px;\"><span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">.g-box<\/span>{...<span style=\"outline: 0px;color: rgb(152, 195, 121);line-height: 26px;\">animation<\/span>:move<span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">4s<\/span>linear;<span style=\"outline: 0px;color: rgb(152, 195, 121);line-height: 26px;\">animation-play-state<\/span>:paused;<span style=\"outline: 0px;color: rgb(152, 195, 121);line-height: 26px;\">transform<\/span>:<span style=\"outline: 0px;color: rgb(230, 192, 123);line-height: 26px;\">translate<\/span>(<span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">0<\/span>,<span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">0<\/span>);}<span style=\"outline: 0px;color: rgb(198, 120, 221);line-height: 26px;\">@keyframes<\/span>move{0%{<span style=\"outline: 0px;color: rgb(152, 195, 121);line-height: 26px;\">transform<\/span>:<span style=\"outline: 0px;color: rgb(230, 192, 123);line-height: 26px;\">translate<\/span>(<span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">100px<\/span>,<span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">0<\/span>);}100%{<span style=\"outline: 0px;color: rgb(152, 195, 121);line-height: 26px;\">transform<\/span>:<span style=\"outline: 0px;color: rgb(230, 192, 123);line-height: 26px;\">translate<\/span>(<span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">300px<\/span>,<span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">0<\/span>);}}<\/code><\/pre>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u6ce8\u610f\u8fd9\u91cc CSS \u89c4\u5219\u4e2d\uff0c\u5143\u7d20\u6ca1\u6709\u8bbe\u7f6e\u4f4d\u79fb<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">transform: translate(0, 0)<\/code>\uff0c\u800c\u5728\u52a8\u753b\u4e2d\uff0c\u7b2c\u4e00\u4e2a\u5173\u952e\u5e27\u548c\u6700\u540e\u4e00\u4e2a\u5173\u952e\u7684 translateX \u5206\u522b\u662f<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">100px<\/code>\u3001<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">300px<\/code>\uff0c\u914d\u5408\u4e0d\u540c\u7684<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">animation-direction<\/code>\u521d\u59cb\u72b6\u6001\u5982\u4e0b\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u4e0b\u56fe\u5047\u8bbe\u6211\u4eec\u8bbe\u7f6e\u4e86\u52a8\u753b\u9ed8\u8ba4\u662f\u6682\u505c\u7684 --<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">animation-play-state: paused<\/code>\uff0c\u90a3\u4e48\u52a8\u753b\u5728\u5f00\u59cb\u524d\u7684\u72b6\u6001\u4e3a\uff1a<\/p>\n<figure data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;outline: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;\"><img decoding=\"async\" class=\"rich_pages wxw-img lazyload\" data-imgfileid=\"100014774\" data-ratio=\"0.20277777777777778\"  data-type=\"png\" data-w=\"1080\" style=\"margin-right: auto;margin-left: auto;outline: 0px;display: block;visibility: visible !important;width: 656.969px !important;height: auto !important;\" data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214824497.webp\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\"  \/><noscript><img decoding=\"async\" class=\"rich_pages wxw-img\" data-imgfileid=\"100014774\" data-ratio=\"0.20277777777777778\"  data-type=\"png\" data-w=\"1080\" style=\"margin-right: auto;margin-left: auto;outline: 0px;display: block;visibility: visible !important;width: 656.969px !important;height: auto !important;\" src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214824497.webp\"  \/><\/noscript><\/figure>\n<h2 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 30px;margin-bottom: 15px;outline: 0px;font-weight: bold;font-size: 22px;\">\u52a8\u753b\u7684\u5206\u6cbb\u4e0e\u590d\u7528<\/h2>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u8bb2\u5b8c\u4e86\u6bcf\u4e00\u4e2a\u5c5e\u6027\uff0c\u6211\u4eec\u518d\u6765\u770b\u770b\u4e00\u4e9b\u52a8\u753b\u4f7f\u7528\u8fc7\u7a0b\u4e2d\u7684\u7ec6\u8282\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u770b\u8fd9\u6837\u4e00\u4e2a\u52a8\u753b\uff1a<\/p>\n<pre data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;outline: 0px;border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;\"><span style=\"margin-bottom: -7px;outline: 0px;display: block;background: url(&quot;https:\/\/mmbiz.qpic.cn\/mmbiz_svg\/et9q9FvjBBpUicMKVMtSeQDgyqINI1HsdpKhgDJMO2NL24ydRicQET9E8ziaicb2189O2tFibZdqfIjgYzcDIaWEPBsUazIvNiasS3\/640?wx_fmt=svg&amp;&quot;) 10px 10px \/ 40px no-repeat rgb(40, 44, 52);height: 30px;width: 657px;border-radius: 5px;\"><\/span><code style=\"padding: 15px 16px 16px;outline: 0px;overflow-x: auto;color: rgb(171, 178, 191);display: -webkit-box;font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;font-size: 12px;background: rgb(40, 44, 52);border-radius: 5px;\"><span style=\"outline: 0px;line-height: 26px;\">&lt;<span style=\"outline: 0px;color: rgb(224, 108, 117);line-height: 26px;\">div<\/span>&gt;<\/span><span style=\"outline: 0px;line-height: 26px;\">&lt;\/<span style=\"outline: 0px;color: rgb(224, 108, 117);line-height: 26px;\">div<\/span>&gt;<\/span><\/code><\/pre>\n<pre data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;outline: 0px;border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;\"><span style=\"margin-bottom: -7px;outline: 0px;display: block;background: url(&quot;https:\/\/mmbiz.qpic.cn\/mmbiz_svg\/et9q9FvjBBpUicMKVMtSeQDgyqINI1HsdpKhgDJMO2NL24ydRicQET9E8ziaicb2189O2tFibZdqfIjgYzcDIaWEPBsUazIvNiasS3\/640?wx_fmt=svg&amp;&quot;) 10px 10px \/ 40px no-repeat rgb(40, 44, 52);height: 30px;width: 657px;border-radius: 5px;\"><\/span><code style=\"padding: 15px 16px 16px;outline: 0px;overflow-x: auto;color: rgb(171, 178, 191);display: -webkit-box;font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;font-size: 12px;background: rgb(40, 44, 52);border-radius: 5px;\"><span style=\"outline: 0px;color: rgb(224, 108, 117);line-height: 26px;\">div<\/span>{<span style=\"outline: 0px;color: rgb(152, 195, 121);line-height: 26px;\">width<\/span>:<span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">100px<\/span>;<span style=\"outline: 0px;color: rgb(152, 195, 121);line-height: 26px;\">height<\/span>:<span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">100px<\/span>;<span style=\"outline: 0px;color: rgb(152, 195, 121);line-height: 26px;\">background<\/span>:<span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">#000<\/span>;<span style=\"outline: 0px;color: rgb(152, 195, 121);line-height: 26px;\">animation<\/span>:combine<span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">2s<\/span>;}<span style=\"outline: 0px;color: rgb(198, 120, 221);line-height: 26px;\">@keyframes<\/span>combine{100%{<span style=\"outline: 0px;color: rgb(152, 195, 121);line-height: 26px;\">transform<\/span>:<span style=\"outline: 0px;color: rgb(230, 192, 123);line-height: 26px;\">translate<\/span>(<span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">0<\/span>,<span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">150px<\/span>);<span style=\"outline: 0px;color: rgb(152, 195, 121);line-height: 26px;\">opacity<\/span>:<span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">0<\/span>;}}<\/code><\/pre>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u8fd9\u91cc\u6211\u4eec\u5b9e\u73b0\u4e86\u4e00\u4e2a div \u5757\u4e0b\u843d\u52a8\u753b\uff0c\u4e0b\u843d\u7684\u540c\u65f6\u4ea7\u751f\u900f\u660e\u5ea6\u7684\u53d8\u5316\uff1a<\/p>\n<figure data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;outline: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;\"><img decoding=\"async\" data-ratio=\"1.9266666666666667\" data-type=\"gif\" data-w=\"150\"  class=\"__bg_gif lazyload\" style=\"margin-right: auto;margin-left: auto;outline: 0px;display: block;visibility: visible !important;width: 150px !important;height: auto !important;\" data-imgfileid=\"100014777\" data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214824366.gif\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\"  \/><noscript><img decoding=\"async\" data-ratio=\"1.9266666666666667\" data-type=\"gif\" data-w=\"150\"  class=\"__bg_gif\" style=\"margin-right: auto;margin-left: auto;outline: 0px;display: block;visibility: visible !important;width: 150px !important;height: auto !important;\" data-imgfileid=\"100014777\" src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214824366.gif\"  \/><\/noscript><\/figure>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u5bf9\u4e8e\u8fd9\u6837\u4e00\u4e2a\u591a\u4e2a\u5c5e\u6027\u53d8\u5316\u7684\u52a8\u753b\uff0c\u5b83\u5176\u5b9e\u7b49\u4ef7\u4e8e\uff1a<\/p>\n<pre data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;outline: 0px;border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;\"><span style=\"margin-bottom: -7px;outline: 0px;display: block;background: url(&quot;https:\/\/mmbiz.qpic.cn\/mmbiz_svg\/et9q9FvjBBpUicMKVMtSeQDgyqINI1HsdpKhgDJMO2NL24ydRicQET9E8ziaicb2189O2tFibZdqfIjgYzcDIaWEPBsUazIvNiasS3\/640?wx_fmt=svg&amp;&quot;) 10px 10px \/ 40px no-repeat rgb(40, 44, 52);height: 30px;width: 657px;border-radius: 5px;\"><\/span><code style=\"padding: 15px 16px 16px;outline: 0px;overflow-x: auto;color: rgb(171, 178, 191);display: -webkit-box;font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;font-size: 12px;background: rgb(40, 44, 52);border-radius: 5px;\"><span style=\"outline: 0px;color: rgb(224, 108, 117);line-height: 26px;\">div<\/span>{<span style=\"outline: 0px;color: rgb(152, 195, 121);line-height: 26px;\">animation<\/span>:falldown<span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">2s<\/span>,fadeIn<span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">2s<\/span>;}<span style=\"outline: 0px;color: rgb(198, 120, 221);line-height: 26px;\">@keyframes<\/span>falldown{100%{<span style=\"outline: 0px;color: rgb(152, 195, 121);line-height: 26px;\">transform<\/span>:<span style=\"outline: 0px;color: rgb(230, 192, 123);line-height: 26px;\">translate<\/span>(<span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">0<\/span>,<span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">150px<\/span>);}}<span style=\"outline: 0px;color: rgb(198, 120, 221);line-height: 26px;\">@keyframes<\/span>fadeIn{100%{<span style=\"outline: 0px;color: rgb(152, 195, 121);line-height: 26px;\">opacity<\/span>:<span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">0<\/span>;}}<\/code><\/pre>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u5728 CSS \u52a8\u753b\u89c4\u5219\u4e2d\uff0c<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">animation<\/code>\u662f\u53ef\u4ee5\u63a5\u6536\u591a\u4e2a\u52a8\u753b\u7684\uff0c\u8fd9\u6837\u505a\u7684\u76ee\u7684\u4e0d\u4ec5\u4ec5\u53ea\u662f\u4e3a\u4e86<strong style=\"outline: 0px;\">\u590d\u7528<\/strong>\uff0c\u540c\u65f6\u4e5f\u662f\u4e3a\u4e86<strong style=\"outline: 0px;\">\u5206\u6cbb<\/strong>\uff0c\u6211\u4eec\u5bf9\u6bcf\u4e00\u4e2a\u5c5e\u6027\u5c42\u9762\u7684\u52a8\u753b\u80fd\u591f\u6709\u7740\u66f4\u4e3a\u7cbe\u786e\u7684\u63a7\u5236\u3002<\/p>\n<h2 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 30px;margin-bottom: 15px;outline: 0px;font-weight: bold;font-size: 22px;\">keyframes \u89c4\u5219\u7684\u8bbe\u5b9a<\/h2>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u6211\u4eec\u7ecf\u5e38\u80fd\u591f\u5728\u5404\u79cd\u4e0d\u540c\u7684 CSS \u4ee3\u7801\u89c1\u5230\u5982\u4e0b\u4e24\u79cd CSS<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">@keyframes<\/code>\u7684\u8bbe\u5b9a\uff1a<\/p>\n<ol data-tool=\"mdnice\u7f16\u8f91\u5668\" class=\"list-paddingleft-1\" style=\"margin-top: 8px;margin-bottom: 8px;padding-left: 25px;outline: 0px;\">\n<li style=\"outline: 0px;\">\n<section style=\"margin-top: 5px;margin-bottom: 5px;outline: 0px;line-height: 26px;color: rgb(1, 1, 1);\">\u4f7f\u7528\u767e\u5206\u6bd4<\/section>\n<\/li>\n<\/ol>\n<pre data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;outline: 0px;border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;\"><span style=\"margin-bottom: -7px;outline: 0px;display: block;background: url(&quot;https:\/\/mmbiz.qpic.cn\/mmbiz_svg\/et9q9FvjBBpUicMKVMtSeQDgyqINI1HsdpKhgDJMO2NL24ydRicQET9E8ziaicb2189O2tFibZdqfIjgYzcDIaWEPBsUazIvNiasS3\/640?wx_fmt=svg&amp;&quot;) 10px 10px \/ 40px no-repeat rgb(40, 44, 52);height: 30px;width: 657px;border-radius: 5px;\"><\/span><code style=\"padding: 15px 16px 16px;outline: 0px;overflow-x: auto;color: rgb(171, 178, 191);display: -webkit-box;font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;font-size: 12px;background: rgb(40, 44, 52);border-radius: 5px;\"><span style=\"outline: 0px;color: rgb(198, 120, 221);line-height: 26px;\">@keyframes<\/span>fadeIn{0%{<span style=\"outline: 0px;color: rgb(152, 195, 121);line-height: 26px;\">opacity<\/span>:<span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">1<\/span>;}100%{<span style=\"outline: 0px;color: rgb(152, 195, 121);line-height: 26px;\">opacity<\/span>:<span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">0<\/span>;}}<\/code><\/pre>\n<ol start=\"2\" data-tool=\"mdnice\u7f16\u8f91\u5668\" class=\"list-paddingleft-1\" style=\"margin-top: 8px;margin-bottom: 8px;padding-left: 25px;outline: 0px;\">\n<li style=\"outline: 0px;\">\n<section style=\"margin-top: 5px;margin-bottom: 5px;outline: 0px;line-height: 26px;color: rgb(1, 1, 1);\">\u4f7f\u7528<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">from<\/code>\u53ca<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">to<\/code><\/section>\n<\/li>\n<\/ol>\n<pre data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;outline: 0px;border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;\"><span style=\"margin-bottom: -7px;outline: 0px;display: block;background: url(&quot;https:\/\/mmbiz.qpic.cn\/mmbiz_svg\/et9q9FvjBBpUicMKVMtSeQDgyqINI1HsdpKhgDJMO2NL24ydRicQET9E8ziaicb2189O2tFibZdqfIjgYzcDIaWEPBsUazIvNiasS3\/640?wx_fmt=svg&amp;&quot;) 10px 10px \/ 40px no-repeat rgb(40, 44, 52);height: 30px;width: 657px;border-radius: 5px;\"><\/span><code style=\"padding: 15px 16px 16px;outline: 0px;overflow-x: auto;color: rgb(171, 178, 191);display: -webkit-box;font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;font-size: 12px;background: rgb(40, 44, 52);border-radius: 5px;\"><span style=\"outline: 0px;color: rgb(198, 120, 221);line-height: 26px;\">@keyframes<\/span>fadeIn{<span style=\"outline: 0px;color: rgb(224, 108, 117);line-height: 26px;\">from<\/span>{<span style=\"outline: 0px;color: rgb(152, 195, 121);line-height: 26px;\">opacity<\/span>:<span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">1<\/span>;}<span style=\"outline: 0px;color: rgb(224, 108, 117);line-height: 26px;\">to<\/span>{<span style=\"outline: 0px;color: rgb(152, 195, 121);line-height: 26px;\">opacity<\/span>:<span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">0<\/span>;}}<\/code><\/pre>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u5728 CSS \u52a8\u753b<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">@keyframes<\/code>\u7684\u5b9a\u4e49\u4e2d\uff0c<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">from<\/code>\u7b49\u540c\u4e8e<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">0%<\/code>\uff0c\u800c<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">to<\/code>\u7b49\u540c\u4e8e<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">100%<\/code>\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u5f53\u7136\uff0c\u5f53\u6211\u4eec\u7684\u5173\u952e\u5e27\u4e0d\u6b62 2 \u5e27\u7684\u65f6\uff0c\u66f4\u63a8\u8350\u4f7f\u7528\u767e\u5206\u6bd4\u5b9a\u4e49\u7684\u65b9\u5f0f\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u9664\u6b64\u4e4b\u5916\uff0c\u5f53\u52a8\u753b\u7684\u8d77\u59cb\u5e27\u7b49\u540c\u4e8e CSS \u89c4\u5219\u4e2d\u8d4b\u4e88\u7684\u503c\u5e76\u4e14\u6ca1\u6709\u8bbe\u5b9a<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">animation-fill-mode<\/code>\uff0c<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">0%<\/code>\u548c<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">from<\/code>\u8fd9\u4e00\u5e27\u662f\u53ef\u4ee5\u5220\u9664\u7684\u3002<\/p>\n<h2 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 30px;margin-bottom: 15px;outline: 0px;font-weight: bold;font-size: 22px;\">\u52a8\u753b\u72b6\u6001\u7684\u9ad8\u4f18\u5148\u7ea7\u6027<\/h2>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u6211\u66fe\u7ecf\u5728\u8fd9\u7bc7\u6587\u7ae0\u4e2d --<span style=\"outline: 0px;color: rgb(30, 107, 184);font-weight: bold;\">\u6df1\u5165\u7406\u89e3 CSS\uff08Cascading Style Sheets\uff09\u4e2d\u7684\u5c42\u53e0\uff08Cascading\uff09<\/span><sup style=\"outline: 0px;line-height: 0;color: rgb(30, 107, 184);font-weight: bold;\">[11]<\/sup>\u8bb2\u8fc7\u4e00\u4e2a\u5f88\u6709\u610f\u601d\u7684 CSS \u73b0\u8c61\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u8fd9\u4e5f\u662f\u5f88\u591a\u4eba\u5bf9 CSS \u4f18\u5148\u7ea7\u7684\u4e00\u4e2a\u8ba4\u77e5\u8bef\u533a\uff0c<strong style=\"outline: 0px;\">\u5728 CSS \u4e2d\uff0c\u4f18\u5148\u7ea7\u8fd8\u9700\u8981\u8003\u8651\u9009\u62e9\u5668\u7684\u5c42\u53e0\uff08\u7ea7\u8054\uff09\u987a\u5e8f<\/strong>\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u53ea\u6709\u5728\u5c42\u53e0\u987a\u5e8f\u76f8\u7b49\u65f6\uff0c\u4f7f\u7528\u54ea\u4e2a\u503c\u624d\u53d6\u51b3\u4e8e\u6837\u5f0f\u7684\u4f18\u5148\u7ea7\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u90a3\u4ec0\u4e48\u662f\u5c42\u53e0\u987a\u5e8f\u5462\uff1f<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u6839\u636e CSS Cascading 4 \u6700\u65b0\u6807\u51c6\uff1a<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\"><span style=\"outline: 0px;color: rgb(30, 107, 184);font-weight: bold;\">CSS Cascading and Inheritance Level 5(Current Work)<\/span><sup style=\"outline: 0px;line-height: 0;color: rgb(30, 107, 184);font-weight: bold;\">[12]<\/sup><\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u5b9a\u4e49\u7684\u5f53\u524d\u89c4\u8303\u4e0b\u7533\u660e\u7684\u5c42\u53e0\u987a\u5e8f\u4f18\u5148\u7ea7\u5982\u4e0b\uff08\u8d8a\u5f80\u4e0b\u7684\u4f18\u5148\u7ea7\u8d8a\u9ad8\uff0c\u4e0b\u9762\u7684\u89c4\u5219\u6309\u5347\u5e8f\u6392\u5217\uff09\uff1a<\/p>\n<ul data-tool=\"mdnice\u7f16\u8f91\u5668\" class=\"list-paddingleft-1\" style=\"margin-top: 8px;margin-bottom: 8px;padding-left: 25px;outline: 0px;\">\n<li style=\"outline: 0px;\">\n<section style=\"margin-top: 5px;margin-bottom: 5px;outline: 0px;line-height: 26px;color: rgb(1, 1, 1);\">Normal user agent declarations<\/section>\n<\/li>\n<li style=\"outline: 0px;\">\n<section style=\"margin-top: 5px;margin-bottom: 5px;outline: 0px;line-height: 26px;color: rgb(1, 1, 1);\">Normal user declarations<\/section>\n<\/li>\n<li style=\"outline: 0px;\">\n<section style=\"margin-top: 5px;margin-bottom: 5px;outline: 0px;line-height: 26px;color: rgb(1, 1, 1);\">Normal author declarations<\/section>\n<\/li>\n<li style=\"outline: 0px;\">\n<section style=\"margin-top: 5px;margin-bottom: 5px;outline: 0px;line-height: 26px;color: rgb(1, 1, 1);\">Animation declarations<\/section>\n<\/li>\n<li style=\"outline: 0px;\">\n<section style=\"margin-top: 5px;margin-bottom: 5px;outline: 0px;line-height: 26px;color: rgb(1, 1, 1);\">Important author declarations<\/section>\n<\/li>\n<li style=\"outline: 0px;\">\n<section style=\"margin-top: 5px;margin-bottom: 5px;outline: 0px;line-height: 26px;color: rgb(1, 1, 1);\">Important user declarations<\/section>\n<\/li>\n<li style=\"outline: 0px;\">\n<section style=\"margin-top: 5px;margin-bottom: 5px;outline: 0px;line-height: 26px;color: rgb(1, 1, 1);\">Important user agent declarations<\/section>\n<\/li>\n<li style=\"outline: 0px;\">\n<section style=\"margin-top: 5px;margin-bottom: 5px;outline: 0px;line-height: 26px;color: rgb(1, 1, 1);\">Transition declarations<\/section>\n<\/li>\n<\/ul>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u7b80\u5355\u7ffb\u8bd1\u4e00\u4e0b\uff1a<\/p>\n<figure data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;outline: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;\"><img decoding=\"async\" class=\"rich_pages wxw-img lazyload\" data-imgfileid=\"100014775\" data-ratio=\"0.6113744075829384\"  data-type=\"png\" data-w=\"633\" style=\"margin-right: auto;margin-left: auto;outline: 0px;display: block;visibility: visible !important;width: 633px !important;height: auto !important;\" data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214827652.webp\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\"  \/><noscript><img decoding=\"async\" class=\"rich_pages wxw-img\" data-imgfileid=\"100014775\" data-ratio=\"0.6113744075829384\"  data-type=\"png\" data-w=\"633\" style=\"margin-right: auto;margin-left: auto;outline: 0px;display: block;visibility: visible !important;width: 633px !important;height: auto !important;\" src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214827652.webp\"  \/><\/noscript><\/figure>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u6309\u7167\u4e0a\u8ff0\u7b97\u6cd5\uff0c\u5927\u6982\u662f\u8fd9\u6837\uff1a<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u8fc7\u6e21\u52a8\u753b\u8fc7\u7a0b\u4e2d\u6bcf\u4e00\u5e27\u7684\u6837\u5f0f &gt; \u7528\u6237\u4ee3\u7406\u3001\u7528\u6237\u3001\u9875\u9762\u4f5c\u8005\u8bbe\u7f6e\u7684!important\u6837\u5f0f &gt; \u52a8\u753b\u8fc7\u7a0b\u4e2d\u6bcf\u4e00\u5e27\u7684\u6837\u5f0f\u4f18\u5148\u7ea7 &gt; \u9875\u9762\u4f5c\u8005\u3001\u7528\u6237\u3001\u7528\u6237\u4ee3\u7406\u666e\u901a\u6837\u5f0f\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u7136\u800c\uff0c\u7ecf\u8fc7\u591a\u4e2a\u6d4f\u89c8\u5668\u7684\u6d4b\u8bd5\uff0c\u5b9e\u9645\u4e0a\u5e76\u4e0d\u662f\u8fd9\u6837\u3002\uff08\u5c34\u5c2c\u4e86\uff09<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u4e3e\u4e2a\u4f8b\u5b50\uff0c\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7\u8fd9\u4e2a\u7279\u6027\uff0c\u8986\u76d6\u6389\u884c\u5185\u6837\u5f0f\u4e2d\u7684<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">!important<\/code>\u6837\u5f0f\uff1a<\/p>\n<pre data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;outline: 0px;border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;\"><span style=\"margin-bottom: -7px;outline: 0px;display: block;background: url(&quot;https:\/\/mmbiz.qpic.cn\/mmbiz_svg\/et9q9FvjBBpUicMKVMtSeQDgyqINI1HsdpKhgDJMO2NL24ydRicQET9E8ziaicb2189O2tFibZdqfIjgYzcDIaWEPBsUazIvNiasS3\/640?wx_fmt=svg&amp;&quot;) 10px 10px \/ 40px no-repeat rgb(40, 44, 52);height: 30px;width: 657px;border-radius: 5px;\"><\/span><code style=\"padding: 15px 16px 16px;outline: 0px;overflow-x: auto;color: rgb(171, 178, 191);display: -webkit-box;font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;font-size: 12px;background: rgb(40, 44, 52);border-radius: 5px;\"><span style=\"outline: 0px;line-height: 26px;\">&lt;<span style=\"outline: 0px;color: rgb(224, 108, 117);line-height: 26px;\">p<\/span><span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">class<\/span>=<span style=\"outline: 0px;color: rgb(152, 195, 121);line-height: 26px;\">\"txt\"<\/span><span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">style<\/span>=<span style=\"outline: 0px;color: rgb(152, 195, 121);line-height: 26px;\">\"color:red!important\"<\/span>&gt;<\/span>123456789<span style=\"outline: 0px;line-height: 26px;\">&lt;\/<span style=\"outline: 0px;color: rgb(224, 108, 117);line-height: 26px;\">p<\/span>&gt;<\/span><\/code><\/pre>\n<pre data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;outline: 0px;border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;\"><span style=\"margin-bottom: -7px;outline: 0px;display: block;background: url(&quot;https:\/\/mmbiz.qpic.cn\/mmbiz_svg\/et9q9FvjBBpUicMKVMtSeQDgyqINI1HsdpKhgDJMO2NL24ydRicQET9E8ziaicb2189O2tFibZdqfIjgYzcDIaWEPBsUazIvNiasS3\/640?wx_fmt=svg&amp;&quot;) 10px 10px \/ 40px no-repeat rgb(40, 44, 52);height: 30px;width: 657px;border-radius: 5px;\"><\/span><code style=\"padding: 15px 16px 16px;outline: 0px;overflow-x: auto;color: rgb(171, 178, 191);display: -webkit-box;font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;font-size: 12px;background: rgb(40, 44, 52);border-radius: 5px;\"><span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">.txt<\/span>{<span style=\"outline: 0px;color: rgb(152, 195, 121);line-height: 26px;\">animation<\/span>:colorGreen<span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">2s<\/span>infinite;}<span style=\"outline: 0px;color: rgb(198, 120, 221);line-height: 26px;\">@keyframes<\/span>colorGreen{0%,100%{<span style=\"outline: 0px;color: rgb(152, 195, 121);line-height: 26px;\">color<\/span>:green;}}<\/code><\/pre>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u5728 Safari \u6d4f\u89c8\u5668\u4e0b\uff0c\u4e0a\u8ff0 DEMO \u6587\u672c\u7684\u989c\u8272\u4e3a<strong style=\"outline: 0px;\">\u7eff\u8272<\/strong>\uff0c\u4e5f\u5c31\u662f\u8bf4\uff0c\u5904\u4e8e\u52a8\u753b\u72b6\u6001\u4e2d\u7684\u6837\u5f0f\uff0c\u80fd\u591f\u8986\u76d6\u6389\u884c\u5185\u6837\u5f0f\u4e2d\u7684<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">!important<\/code>\u6837\u5f0f\uff0c\u5c5e\u4e8e\u6700\u6700\u9ad8\u4f18\u5148\u7ea7\u7684\u4e00\u79cd\u6837\u5f0f\uff0c\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7\u65e0\u9650\u52a8\u753b\u3001\u6216\u8005<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">animation-fill-mode: forwards<\/code>\uff0c\u5229\u7528\u8fd9\u4e2a\u6280\u5de7\uff0c\u8986\u76d6\u6389\u672c\u6765\u5e94\u8be5\u662f\u4f18\u5148\u7ea7\u975e\u5e38\u975e\u5e38\u9ad8\u7684\u884c\u5185\u6837\u5f0f\u4e2d\u7684<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">!important<\/code>\u6837\u5f0f\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u6211\u5728\u65e9\u4e24\u5e74\u7684 Chrome \u4e2d\u4e5f\u80fd\u5f97\u5230\u540c\u6837\u7684\u7ed3\u679c\uff0c\u4f46\u662f\u5230\u4eca\u5929\uff082022-01-10\uff09\uff0c\u6700\u65b0\u7248\u7684 Chrome \u5df2\u7ecf\u4e0d\u652f\u6301\u52a8\u753b\u8fc7\u7a0b\u4e2d\u5173\u952e\u5e27\u6837\u5f0f\u4f18\u5148\u7ea7\u8986\u76d6\u884c\u5185\u6837\u5f0f<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">!important<\/code>\u7684\u7279\u6027\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u5bf9\u4e8e\u4e0d\u540c\u6d4f\u89c8\u5668\uff0c\u611f\u5174\u8da3\u7684\u540c\u5b66\u53ef\u4ee5\u5229\u7528\u6211\u8fd9\u4e2a DEMO \u81ea\u884c\u5c1d\u8bd5\uff0c<span style=\"outline: 0px;color: rgb(30, 107, 184);font-weight: bold;\">CodePen Demo - the priority of CSS Animation<\/span><sup style=\"outline: 0px;line-height: 0;color: rgb(30, 107, 184);font-weight: bold;\">[13]<\/sup><\/p>\n<h2 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 30px;margin-bottom: 15px;outline: 0px;font-weight: bold;font-size: 22px;\">CSS \u52a8\u753b\u7684\u4f18\u5316<\/h2>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u8fd9\u4e5f\u662f\u975e\u5e38\u591a\u4eba\u975e\u5e38\u5173\u5fc3\u7684\u4e00\u4e2a\u91cd\u70b9\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u6211\u7684 CSS \u52a8\u753b\u5f88\u5361\uff0c\u6211\u5e94\u8be5\u5982\u4f55\u53bb\u4f18\u5316\u5b83\uff1f<\/p>\n<h3 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 30px;margin-bottom: 15px;outline: 0px;font-weight: bold;font-size: 20px;\">\u52a8\u753b\u5143\u7d20\u751f\u6210\u72ec\u7acb\u7684 GraphicsLayer\uff0c\u5f3a\u5236\u5f00\u59cb GPU \u52a0\u901f<\/h3>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">CSS \u52a8\u753b\u5f88\u5361\uff0c\u5176\u5b9e\u662f\u4e00\u4e2a\u73b0\u8c61\u63cf\u8ff0\uff0c\u5b83\u7684\u672c\u8d28\u5176\u5b9e\u662f\u5728\u52a8\u753b\u8fc7\u7a0b\u4e2d\uff0c<strong style=\"outline: 0px;\">\u6d4f\u89c8\u5668\u5237\u65b0\u6e32\u67d3\u9875\u9762\u7684\u5e27\u7387\u8fc7\u4f4e<\/strong>\u3002\u901a\u5e38\u800c\u8a00\uff0c\u76ee\u524d\u5927\u591a\u6570\u6d4f\u89c8\u5668\u5237\u65b0\u7387\u4e3a 60 \u6b21\/\u79d2\uff0c\u6240\u4ee5\u901a\u5e38\u6765\u8bb2 FPS \u4e3a 60 frame\/s \u65f6\u52a8\u753b\u6548\u679c\u8f83\u597d\uff0c\u4e5f\u5c31\u662f\u6bcf\u5e27\u7684\u6d88\u8017\u65f6\u95f4\u4e3a 16.67ms\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u9875\u9762\u5904\u4e8e\u52a8\u753b\u53d8\u5316\u65f6\uff0c\u5f53\u5e27\u7387\u4f4e\u4e8e\u4e00\u5b9a\u6570\u503c\u65f6\uff0c\u6211\u4eec\u5c31\u611f\u89c9\u5230\u9875\u9762\u7684\u5361\u987f\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u800c\u9020\u6210\u5e27\u7387\u4f4e\u7684\u539f\u56e0\u5c31\u662f\u6d4f\u89c8\u5668\u5728\u4e00\u5e27\u4e4b\u95f4\u5904\u7406\u7684\u4e8b\u60c5\u592a\u591a\u4e86\uff0c\u8d85\u8fc7\u4e86 16.67ms\uff0c\u8981\u4f18\u5316\u6bcf\u4e00\u5e27\u7684\u65f6\u95f4\uff0c\u53c8\u9700\u8981\u5b8c\u6574\u5730\u77e5\u9053\u6d4f\u89c8\u5668\u5728\u6bcf\u4e00\u5e27\u5e72\u4e86\u4ec0\u4e48\uff0c\u8fd9\u4e2a\u5c31\u53c8\u6d89\u53ca\u5230\u4e86\u8001\u751f\u5e38\u8c08\u7684\u6d4f\u89c8\u5668\u6e32\u67d3\u9875\u9762\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u5230\u4eca\u5929\uff0c\u867d\u7136\u4e0d\u540c\u6d4f\u89c8\u5668\u7684\u6e32\u67d3\u8fc7\u7a0b\u4e0d\u5b8c\u5168\u76f8\u540c\uff0c\u4f46\u662f\u57fa\u672c\u4e0a\u5927\u540c\u5c0f\u5f02\uff0c\u57fa\u672c\u4e0a\u90fd\u662f\uff1a<\/p>\n<figure data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;outline: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;\"><img decoding=\"async\" class=\"rich_pages wxw-img lazyload\" data-imgfileid=\"100014776\" data-ratio=\"0.4813664596273292\"  data-type=\"png\" data-w=\"644\" style=\"margin-right: auto;margin-left: auto;outline: 0px;display: block;visibility: visible !important;width: 644px !important;height: auto !important;\" data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214827769.webp\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\"  \/><noscript><img decoding=\"async\" class=\"rich_pages wxw-img\" data-imgfileid=\"100014776\" data-ratio=\"0.4813664596273292\"  data-type=\"png\" data-w=\"644\" style=\"margin-right: auto;margin-left: auto;outline: 0px;display: block;visibility: visible !important;width: 644px !important;height: auto !important;\" src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214827769.webp\"  \/><\/noscript><\/figure>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u7b80\u5316\u4e00\u4e0b\u4e5f\u5c31\u662f\u8fd9\u4e2a\u56fe\uff1a<\/p>\n<figure data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;outline: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;\"><img decoding=\"async\" class=\"rich_pages wxw-img lazyload\" data-imgfileid=\"100014778\" data-ratio=\"0.1527777777777778\"  data-type=\"png\" data-w=\"720\" style=\"margin-right: auto;margin-left: auto;outline: 0px;display: block;visibility: visible !important;width: 657px !important;height: auto !important;\" data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214828431.webp\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\"  \/><noscript><img decoding=\"async\" class=\"rich_pages wxw-img\" data-imgfileid=\"100014778\" data-ratio=\"0.1527777777777778\"  data-type=\"png\" data-w=\"720\" style=\"margin-right: auto;margin-left: auto;outline: 0px;display: block;visibility: visible !important;width: 657px !important;height: auto !important;\" src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214828431.webp\"  \/><\/noscript><\/figure>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u8fd9\u4e24\u5f20\u56fe\uff0c\u4f60\u53ef\u4ee5\u5728\u975e\u5e38\u591a\u4e0d\u540c\u7684\u6587\u7ae0\u4e2d\u770b\u5230\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u56de\u5f52\u672c\u6587\u7684\u91cd\u70b9\uff0cWeb \u52a8\u753b\u5f88\u5927\u4e00\u90e8\u5206\u5f00\u9500\u5728\u4e8e\u5c42\u7684\u91cd\u7ed8\uff0c\u4ee5\u5c42\u4e3a\u57fa\u7840\u7684\u590d\u5408\u6a21\u578b\u5bf9\u6e32\u67d3\u6027\u80fd\u6709\u7740\u6df1\u8fdc\u7684\u5f71\u54cd\u3002\u5f53\u4e0d\u9700\u8981\u7ed8\u5236\u65f6\uff0c\u590d\u5408\u64cd\u4f5c\u7684\u5f00\u9500\u53ef\u4ee5\u5ffd\u7565\u4e0d\u8ba1\uff0c\u56e0\u6b64\u5728\u8bd5\u7740\u8c03\u8bd5\u6e32\u67d3\u6027\u80fd\u95ee\u9898\u65f6\uff0c\u9996\u8981\u76ee\u6807\u5c31\u662f\u8981\u907f\u514d\u5c42\u7684\u91cd\u7ed8\u3002\u90a3\u4e48\u8fd9\u5c31\u7ed9\u52a8\u753b\u7684\u6027\u80fd\u4f18\u5316\u63d0\u4f9b\u4e86\u65b9\u5411\uff0c<strong style=\"outline: 0px;\">\u51cf\u5c11\u5143\u7d20\u7684\u91cd\u7ed8\u4e0e\u56de\u6d41<\/strong>\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u8fd9\u5176\u4e2d\uff0c\u5982\u4f55\u51cf\u5c11\u9875\u9762\u7684\u56de\u6d41\u4e0e\u91cd\u7ed8\u5462\uff0c\u8fd9\u91cc\u5c31\u4f1a\u8fd0\u7528\u5230\u6211\u4eec\u5e38\u8bf4\u7684** GPU \u52a0\u901f**\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">GPU \u52a0\u901f\u7684\u672c\u8d28\u5176\u5b9e\u662f\u51cf\u5c11\u6d4f\u89c8\u5668\u6e32\u67d3\u9875\u9762\u6bcf\u4e00\u5e27\u8fc7\u7a0b\u4e2d\u7684 reflow \u548c repaint\uff0c\u5176\u6839\u672c\uff0c\u5c31\u662f\u8ba9\u9700\u8981\u8fdb\u884c\u52a8\u753b\u7684\u5143\u7d20\uff0c\u751f\u6210\u81ea\u5df1\u7684<strong style=\"outline: 0px;\">GraphicsLayer<\/strong>\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u6d4f\u89c8\u5668\u6e32\u67d3\u4e00\u4e2a\u9875\u9762\u65f6\uff0c\u5b83\u4f7f\u7528\u4e86\u8bb8\u591a\u6ca1\u6709\u66b4\u9732\u7ed9\u5f00\u53d1\u8005\u7684\u4e2d\u95f4\u8868\u73b0\u5f62\u5f0f\uff0c\u5176\u4e2d\u6700\u91cd\u8981\u7684\u7ed3\u6784\u4fbf\u662f\u5c42(layer)\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u5728 Chrome \u4e2d\uff0c\u5b58\u5728\u6709\u4e0d\u540c\u7c7b\u578b\u7684\u5c42\uff1aRenderLayer(\u8d1f\u8d23 DOM \u5b50\u6811)\uff0cGraphicsLayer(\u8d1f\u8d23 RenderLayer \u7684\u5b50\u6811)\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">GraphicsLayer \uff0c\u5b83\u5bf9\u4e8e\u6211\u4eec\u7684 Web \u52a8\u753b\u800c\u8a00\u975e\u5e38\u91cd\u8981\uff0c\u901a\u5e38\uff0cChrome \u4f1a\u5c06\u4e00\u4e2a\u5c42\u7684\u5185\u5bb9\u5728\u4f5c\u4e3a\u7eb9\u7406\u4e0a\u4f20\u5230 GPU \u524d\u5148\u7ed8\u5236(paint)\u8fdb\u4e00\u4e2a\u4f4d\u56fe\u4e2d\u3002\u5982\u679c\u5185\u5bb9\u4e0d\u4f1a\u6539\u53d8\uff0c\u90a3\u4e48\u5c31\u6ca1\u6709\u5fc5\u8981\u91cd\u7ed8(repaint)\u5c42\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u800c\u5f53\u5143\u7d20\u751f\u6210\u4e86\u81ea\u5df1\u7684 GraphicsLayer \u4e4b\u540e\uff0c\u5728\u52a8\u753b\u8fc7\u7a0b\u4e2d\uff0cChrome \u5e76\u4e0d\u4f1a\u59cb\u7ec8\u91cd\u7ed8\u6574\u4e2a\u5c42\uff0c\u5b83\u4f1a\u5c1d\u8bd5\u667a\u80fd\u5730\u53bb\u91cd\u7ed8 DOM \u4e2d\u5931\u6548\u7684\u90e8\u5206\uff0c\u4e5f\u5c31\u662f\u53d1\u751f\u52a8\u753b\u7684\u90e8\u5206\uff0c\u5728 Composite \u4e4b\u524d\uff0c\u9875\u9762\u662f\u5904\u4e8e\u4e00\u79cd\u5206\u5c42\u72b6\u6001\uff0c\u501f\u52a9 GPU\uff0c\u6d4f\u89c8\u5668\u4ec5\u4ec5\u5728\u6bcf\u4e00\u5e27\u5bf9\u751f\u6210\u4e86\u81ea\u5df1\u72ec\u7acb GraphicsLayer \u5143\u7d20\u5c42\u8fdb\u884c\u91cd\u7ed8\uff0c\u5982\u6b64\uff0c\u5927\u5927\u7684\u964d\u4f4e\u4e86\u6574\u4e2a\u9875\u9762\u91cd\u6392\u91cd\u7ed8\u7684\u5f00\u9500\uff0c\u63d0\u5347\u4e86\u9875\u9762\u6e32\u67d3\u7684\u6548\u7387\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u56e0\u6b64\uff0cCSS \u52a8\u753b\uff08Web \u52a8\u753b\u540c\u7406\uff09\u4f18\u5316\u7684\u7b2c\u4e00\u6761\u51c6\u5219\u5c31\u662f<strong style=\"outline: 0px;\">\u8ba9\u9700\u8981\u52a8\u753b\u7684\u5143\u7d20\u751f\u6210\u4e86\u81ea\u5df1\u72ec\u7acb\u7684 GraphicsLayer\uff0c\u5f3a\u5236\u5f00\u59cb GPU \u52a0\u901f<\/strong>\uff0c\u800c\u6211\u4eec\u9700\u8981\u77e5\u9053\u662f\uff0cGPU \u52a0\u901f\u7684\u672c\u8d28\u662f\u5229\u7528\u8ba9\u5143\u7d20\u751f\u6210\u4e86\u81ea\u5df1\u72ec\u7acb\u7684 GraphicsLayer\uff0c\u964d\u4f4e\u4e86\u9875\u9762\u5728\u6e32\u67d3\u8fc7\u7a0b\u4e2d\u91cd\u7ed8\u91cd\u6392\u7684\u5f00\u9500\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\"><span style=\"outline: 0px;letter-spacing: 0px;\">\u5f53\u7136\uff0c\u751f\u6210\u81ea\u5df1\u7684\u72ec\u7acb\u7684 GraphicsLayer\uff0c\u4e0d\u4ec5\u4ec5\u53ea\u6709 transform3d api\uff0c\u8fd8\u6709\u975e\u5e38\u591a\u7684\u65b9\u5f0f\u3002<\/span><span style=\"outline: 0px;letter-spacing: 0px;\">\u5728 CSS \u4e2d\uff0c\u5305\u62ec\u4f46\u4e0d\u9650\u4e8e\uff08\u627e\u4e86\u5f88\u591a\u6587\u6863\uff0c\u6ca1\u6709\u5f88\u5168\u9762\u7684\uff0c\u9700\u8981\u4e00\u4e2a\u4e00\u4e2a\u53bb\u5c1d\u8bd5\uff0c\u901a\u8fc7\u5f00\u542f Chrome \u7684 Layer border \u9009\u9879\uff09\uff1a<\/span><\/p>\n<ul class=\"list-paddingleft-1\" style=\"margin-top: 8px;margin-bottom: 8px;padding-left: 25px;outline: 0px;\">\n<li style=\"margin-top: 5px;margin-bottom: 5px;padding-right: 10px;padding-left: 10px;outline: 0px;line-height: 26px;color: rgb(1, 1, 1);letter-spacing: 0px;word-break: break-word;text-align: left;\">\n<p style=\"margin-top: 5px;margin-bottom: 5px;padding-right: 10px;padding-left: 10px;outline: 0px;line-height: 26px;letter-spacing: 0px;word-break: break-word;\">3D \u6216\u900f\u89c6\u53d8\u6362(perspective\u3001transform) CSS \u5c5e\u6027<\/p>\n<\/li>\n<li style=\"margin-top: 5px;margin-bottom: 5px;padding-right: 10px;padding-left: 10px;outline: 0px;line-height: 26px;color: rgb(1, 1, 1);letter-spacing: 0px;word-break: break-word;text-align: left;\">\n<p style=\"margin-top: 5px;margin-bottom: 5px;padding-right: 10px;padding-left: 10px;outline: 0px;line-height: 26px;letter-spacing: 0px;word-break: break-word;\">\u4f7f\u7528\u52a0\u901f\u89c6\u9891\u89e3\u7801\u7684<\/p>\n<\/li>\n<li style=\"margin-top: 5px;margin-bottom: 5px;padding-right: 10px;padding-left: 10px;outline: 0px;line-height: 26px;color: rgb(1, 1, 1);letter-spacing: 0px;word-break: break-word;text-align: left;\">\n<p style=\"margin-top: 5px;margin-bottom: 5px;padding-right: 10px;padding-left: 10px;outline: 0px;line-height: 26px;letter-spacing: 0px;word-break: break-word;\">\u62e5\u6709 3D (WebGL) \u4e0a\u4e0b\u6587\u6216\u52a0\u901f\u7684 2D \u4e0a\u4e0b\u6587\u7684 \u5143\u7d20<\/p>\n<\/li>\n<li style=\"margin-top: 5px;margin-bottom: 5px;padding-right: 10px;padding-left: 10px;outline: 0px;line-height: 26px;color: rgb(1, 1, 1);letter-spacing: 0px;word-break: break-word;text-align: left;\">\n<p style=\"margin-top: 5px;margin-bottom: 5px;padding-right: 10px;padding-left: 10px;outline: 0px;line-height: 26px;letter-spacing: 0px;word-break: break-word;\">\u6df7\u5408\u63d2\u4ef6(\u5982 Flash)<\/p>\n<\/li>\n<li style=\"margin-top: 5px;margin-bottom: 5px;padding-right: 10px;padding-left: 10px;outline: 0px;line-height: 26px;color: rgb(1, 1, 1);letter-spacing: 0px;word-break: break-word;text-align: left;\">\n<p style=\"margin-top: 5px;margin-bottom: 5px;padding-right: 10px;padding-left: 10px;outline: 0px;line-height: 26px;letter-spacing: 0px;word-break: break-word;\">\u5bf9\u81ea\u5df1\u7684 opacity \u505a CSS \u52a8\u753b\u6216\u4f7f\u7528\u4e00\u4e2a\u52a8\u753b\u53d8\u6362\u7684\u5143\u7d20<\/p>\n<\/li>\n<li style=\"margin-top: 5px;margin-bottom: 5px;padding-right: 10px;padding-left: 10px;outline: 0px;line-height: 26px;color: rgb(1, 1, 1);letter-spacing: 0px;word-break: break-word;text-align: left;\">\n<p style=\"margin-top: 5px;margin-bottom: 5px;padding-right: 10px;padding-left: 10px;outline: 0px;line-height: 26px;letter-spacing: 0px;word-break: break-word;\">\u62e5\u6709\u52a0\u901f CSS \u8fc7\u6ee4\u5668\u7684\u5143\u7d20<\/p>\n<\/li>\n<li style=\"margin-top: 5px;margin-bottom: 5px;padding-right: 10px;padding-left: 10px;outline: 0px;line-height: 26px;color: rgb(1, 1, 1);letter-spacing: 0px;word-break: break-word;text-align: left;\">\n<p style=\"margin-top: 5px;margin-bottom: 5px;padding-right: 10px;padding-left: 10px;outline: 0px;line-height: 26px;letter-spacing: 0px;word-break: break-word;\">\u5143\u7d20\u6709\u4e00\u4e2a\u5305\u542b\u590d\u5408\u5c42\u7684\u540e\u4ee3\u8282\u70b9(\u6362\u53e5\u8bdd\u8bf4\uff0c\u5c31\u662f\u4e00\u4e2a\u5143\u7d20\u62e5\u6709\u4e00\u4e2a\u5b50\u5143\u7d20\uff0c\u8be5\u5b50\u5143\u7d20\u5728\u81ea\u5df1\u7684\u5c42\u91cc)<\/p>\n<\/li>\n<li style=\"margin-top: 5px;margin-bottom: 5px;padding-right: 10px;padding-left: 10px;outline: 0px;line-height: 26px;color: rgb(1, 1, 1);letter-spacing: 0px;word-break: break-word;text-align: left;\">\n<p style=\"margin-top: 5px;margin-bottom: 5px;padding-right: 10px;padding-left: 10px;outline: 0px;line-height: 26px;letter-spacing: 0px;word-break: break-word;\">\u5143\u7d20\u6709\u4e00\u4e2a z-index \u8f83\u4f4e\u4e14\u5305\u542b\u4e00\u4e2a\u590d\u5408\u5c42\u7684\u5144\u5f1f\u5143\u7d20(\u6362\u53e5\u8bdd\u8bf4\u5c31\u662f\u8be5\u5143\u7d20\u5728\u590d\u5408\u5c42\u4e0a\u9762\u6e32\u67d3)<\/p>\n<\/li>\n<\/ul>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u5bf9\u4e8e\u4e0a\u8ff0\u4e00\u5927\u6bb5\u975e\u5e38\u7ed5\u7684\u5185\u5bb9\uff0c\u4f60\u53ef\u4ee5\u518d\u770b\u770b\u8fd9\u51e0\u7bc7\u6587\u7ae0\uff1a<\/p>\n<ul data-tool=\"mdnice\u7f16\u8f91\u5668\" class=\"list-paddingleft-1\" style=\"margin-top: 8px;margin-bottom: 8px;padding-left: 25px;outline: 0px;\">\n<li style=\"outline: 0px;\">\n<section style=\"margin-top: 5px;margin-bottom: 5px;outline: 0px;line-height: 26px;color: rgb(1, 1, 1);\"><span style=\"outline: 0px;color: rgb(30, 107, 184);font-weight: bold;\">\u3010Web\u52a8\u753b\u3011CSS3 3D \u884c\u661f\u8fd0\u8f6c &amp;&amp; \u6d4f\u89c8\u5668\u6e32\u67d3\u539f\u7406<\/span><sup style=\"outline: 0px;line-height: 0;color: rgb(30, 107, 184);font-weight: bold;\">[14]<\/sup><\/section>\n<\/li>\n<li style=\"outline: 0px;\">\n<section style=\"margin-top: 5px;margin-bottom: 5px;outline: 0px;line-height: 26px;color: rgb(1, 1, 1);\"><span style=\"outline: 0px;color: rgb(30, 107, 184);font-weight: bold;\">Accelerated Rendering in Chrome<\/span><sup style=\"outline: 0px;line-height: 0;color: rgb(30, 107, 184);font-weight: bold;\">[15]<\/sup><\/section>\n<\/li>\n<\/ul>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u9664\u4e86\u4e0a\u8ff0\u51c6\u5219\u4e4b\u5916\uff0c\u8fd8\u6709\u4e00\u4e9b\u63d0\u5347 CSS \u52a8\u753b\u6027\u80fd\u7684\u5efa\u8bae\uff1a<\/p>\n<h3 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 30px;margin-bottom: 15px;outline: 0px;font-weight: bold;font-size: 20px;\">\u51cf\u5c11\u4f7f\u7528\u8017\u6027\u80fd\u6837\u5f0f<\/h3>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u4e0d\u540c\u6837\u5f0f\u5728\u6d88\u8017\u6027\u80fd\u65b9\u9762\u662f\u4e0d\u540c\u7684\uff0c\u6539\u53d8\u4e00\u4e9b\u5c5e\u6027\u7684\u5f00\u9500\u6bd4\u6539\u53d8\u5176\u4ed6\u5c5e\u6027\u8981\u591a\uff0c\u56e0\u6b64\u66f4\u53ef\u80fd\u4f7f\u52a8\u753b\u5361\u987f\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u4f8b\u5982\uff0c\u4e0e\u6539\u53d8\u5143\u7d20\u7684\u6587\u672c\u989c\u8272\u76f8\u6bd4\uff0c\u6539\u53d8\u5143\u7d20\u7684<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">box-shadow<\/code>\u5c06\u9700\u8981\u5f00\u9500\u5927\u5f88\u591a\u7684\u7ed8\u56fe\u64cd\u4f5c\u3002<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">box-shadow<\/code>\u5c5e\u6027\uff0c\u4ece\u6e32\u67d3\u89d2\u5ea6\u6765\u8bb2\u5341\u5206\u8017\u6027\u80fd\uff0c\u539f\u56e0\u5c31\u662f\u4e0e\u5176\u4ed6\u6837\u5f0f\u76f8\u6bd4\uff0c\u5b83\u4eec\u7684\u7ed8\u5236\u4ee3\u7801\u6267\u884c\u65f6\u95f4\u8fc7\u957f\u3002\u8fd9\u5c31\u662f\u8bf4\uff0c\u5982\u679c\u4e00\u4e2a\u8017\u6027\u80fd\u4e25\u91cd\u7684\u6837\u5f0f\u7ecf\u5e38\u9700\u8981\u91cd\u7ed8\uff0c\u90a3\u4e48\u4f60\u5c31\u4f1a\u9047\u5230\u6027\u80fd\u95ee\u9898\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u7c7b\u4f3c\u7684\u8fd8\u6709 CSS 3D \u53d8\u6362\u3001<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">mix-blend-mode<\/code>\u3001<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">filter<\/code>\uff0c\u8fd9\u4e9b\u6837\u5f0f\u76f8\u6bd4\u5176\u4ed6\u4e00\u4e9b\u7b80\u5355\u7684\u64cd\u4f5c\uff0c\u4f1a\u66f4\u52a0\u7684\u6d88\u8017\u6027\u80fd\u3002\u6211\u4eec\u5e94\u8be5\u5c3d\u53ef\u80fd\u7684\u5728\u52a8\u753b\u8fc7\u7a0b\u4e2d\u964d\u4f4e\u5176\u4f7f\u7528\u7684\u9891\u7387\u6216\u8005\u5bfb\u627e\u66ff\u4ee3\u65b9\u6848\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u5f53\u7136\uff0c\u6ca1\u6709\u4e0d\u53d8\u7684\u4e8b\u60c5\uff0c\u5728\u4eca\u5929\u6027\u80fd\u5f88\u5dee\u7684\u6837\u5f0f\uff0c\u53ef\u80fd\u660e\u5929\u5c31\u88ab\u4f18\u5316\uff0c\u5e76\u4e14\u6d4f\u89c8\u5668\u4e4b\u95f4\u4e5f\u5b58\u5728\u5dee\u5f02\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u56e0\u6b64\u5173\u952e\u5728\u4e8e\uff0c\u6211\u4eec\u9700\u8981\u9488\u5bf9\u6bcf\u4e00\u8d77\u5361\u987f\u7684\u4f8b\u5b50\uff0c\u501f\u52a9\u5f00\u53d1\u5de5\u5177\u6765\u5206\u8fa8\u51fa\u6027\u80fd\u74f6\u9888\u6240\u5728\uff0c\u7136\u540e\u8bbe\u6cd5\u51cf\u5c11\u6d4f\u89c8\u5668\u7684\u5de5\u4f5c\u91cf\u3002\u5b66\u4f1a Chrome \u5f00\u53d1\u8005\u5de5\u5177\u7684 Performance \u9762\u677f\u53ca\u5176\u4ed6\u6e32\u67d3\u76f8\u5173\u7684\u9762\u677f\u975e\u5e38\u91cd\u8981\uff0c\u5f53\u7136\u8fd9\u4e0d\u662f\u672c\u6587\u7684\u91cd\u70b9\u3002\u5927\u5bb6\u53ef\u4ee5\u81ea\u884c\u63a2\u7d22\u3002<\/p>\n<h3 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 30px;margin-bottom: 15px;outline: 0px;font-weight: bold;font-size: 20px;\">\u4f7f\u7528 will-change \u63d0\u9ad8\u9875\u9762\u6eda\u52a8\u3001\u52a8\u753b\u7b49\u6e32\u67d3\u6027\u80fd<\/h3>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\"><code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">will-change<\/code>\u4e3a Web \u5f00\u53d1\u8005\u63d0\u4f9b\u4e86\u4e00\u79cd\u544a\u77e5\u6d4f\u89c8\u5668\u8be5\u5143\u7d20\u4f1a\u6709\u54ea\u4e9b\u53d8\u5316\u7684\u65b9\u6cd5\uff0c\u8fd9\u6837\u6d4f\u89c8\u5668\u53ef\u4ee5\u5728\u5143\u7d20\u5c5e\u6027\u771f\u6b63\u53d1\u751f\u53d8\u5316\u4e4b\u524d\u63d0\u524d\u505a\u597d\u5bf9\u5e94\u7684\u4f18\u5316\u51c6\u5907\u5de5\u4f5c\u3002\u8fd9\u79cd\u4f18\u5316\u53ef\u4ee5\u5c06\u4e00\u90e8\u5206\u590d\u6742\u7684\u8ba1\u7b97\u5de5\u4f5c\u63d0\u524d\u51c6\u5907\u597d\uff0c\u4f7f\u9875\u9762\u7684\u53cd\u5e94\u66f4\u4e3a\u5feb\u901f\u7075\u654f\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u503c\u5f97\u6ce8\u610f\u7684\u662f\uff0c\u7528\u597d\u8fd9\u4e2a\u5c5e\u6027\u5e76\u4e0d\u662f\u5f88\u5bb9\u6613\uff1a<\/p>\n<ul data-tool=\"mdnice\u7f16\u8f91\u5668\" class=\"list-paddingleft-1\" style=\"margin-top: 8px;margin-bottom: 8px;padding-left: 25px;outline: 0px;\">\n<li style=\"outline: 0px;\">\n<section style=\"margin-top: 5px;margin-bottom: 5px;outline: 0px;line-height: 26px;color: rgb(1, 1, 1);\">\n<p style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;color: black;\">\u4e0d\u8981\u5c06<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">will-change<\/code>\u5e94\u7528\u5230\u592a\u591a\u5143\u7d20\u4e0a\uff1a\u6d4f\u89c8\u5668\u5df2\u7ecf\u5c3d\u529b\u5c1d\u8bd5\u53bb\u4f18\u5316\u4e00\u5207\u53ef\u4ee5\u4f18\u5316\u7684\u4e1c\u897f\u4e86\u3002\u6709\u4e00\u4e9b\u66f4\u5f3a\u529b\u7684\u4f18\u5316\uff0c\u5982\u679c\u4e0e will-change \u7ed3\u5408\u5728\u4e00\u8d77\u7684\u8bdd\uff0c\u6709\u53ef\u80fd\u4f1a\u6d88\u8017\u5f88\u591a\u673a\u5668\u8d44\u6e90\uff0c\u5982\u679c\u8fc7\u5ea6\u4f7f\u7528\u7684\u8bdd\uff0c\u53ef\u80fd\u5bfc\u81f4\u9875\u9762\u54cd\u5e94\u7f13\u6162\u6216\u8005\u6d88\u8017\u975e\u5e38\u591a\u7684\u8d44\u6e90\u3002<\/p>\n<\/section>\n<\/li>\n<li style=\"outline: 0px;\">\n<section style=\"margin-top: 5px;margin-bottom: 5px;outline: 0px;line-height: 26px;color: rgb(1, 1, 1);\">\n<p style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;color: black;\">\u6709\u8282\u5236\u5730\u4f7f\u7528\uff1a\u901a\u5e38\uff0c\u5f53\u5143\u7d20\u6062\u590d\u5230\u521d\u59cb\u72b6\u6001\u65f6\uff0c\u6d4f\u89c8\u5668\u4f1a\u4e22\u5f03\u6389\u4e4b\u524d\u505a\u7684\u4f18\u5316\u5de5\u4f5c\u3002\u4f46\u662f\u5982\u679c\u76f4\u63a5\u5728\u6837\u5f0f\u8868\u4e2d\u663e\u5f0f\u58f0\u660e\u4e86<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">will-change<\/code>\u5c5e\u6027\uff0c\u5219\u8868\u793a\u76ee\u6807\u5143\u7d20\u53ef\u80fd\u4f1a\u7ecf\u5e38\u53d8\u5316\uff0c\u6d4f\u89c8\u5668\u4f1a\u5c06\u4f18\u5316\u5de5\u4f5c\u4fdd\u5b58\u5f97\u6bd4\u4e4b\u524d\u66f4\u4e45\u3002\u6240\u4ee5\u6700\u4f73\u5b9e\u8df5\u662f\u5f53\u5143\u7d20\u53d8\u5316\u4e4b\u524d\u548c\u4e4b\u540e\u901a\u8fc7\u811a\u672c\u6765\u5207\u6362<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">will-change<\/code>\u7684\u503c\u3002<\/p>\n<\/section>\n<\/li>\n<li style=\"outline: 0px;\">\n<section style=\"margin-top: 5px;margin-bottom: 5px;outline: 0px;line-height: 26px;color: rgb(1, 1, 1);\">\n<p style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;color: black;\">\u4e0d\u8981\u8fc7\u65e9\u5e94\u7528<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">will-change<\/code>\u4f18\u5316\uff1a\u5982\u679c\u4f60\u7684\u9875\u9762\u5728\u6027\u80fd\u65b9\u9762\u6ca1\u4ec0\u4e48\u95ee\u9898\uff0c\u5219\u4e0d\u8981\u6dfb\u52a0<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">will-change<\/code>\u5c5e\u6027\u6765\u69a8\u53d6\u4e00\u4e01\u70b9\u7684\u901f\u5ea6\u3002<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">will-change<\/code>\u7684\u8bbe\u8ba1\u521d\u8877\u662f\u4f5c\u4e3a\u6700\u540e\u7684\u4f18\u5316\u624b\u6bb5\uff0c\u7528\u6765\u5c1d\u8bd5\u89e3\u51b3\u73b0\u6709\u7684\u6027\u80fd\u95ee\u9898\u3002\u5b83\u4e0d\u5e94\u8be5\u88ab\u7528\u6765\u9884\u9632\u6027\u80fd\u95ee\u9898\u3002\u8fc7\u5ea6\u4f7f\u7528<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">will-change<\/code>\u4f1a\u5bfc\u81f4\u5927\u91cf\u7684\u5185\u5b58\u5360\u7528\uff0c\u5e76\u4f1a\u5bfc\u81f4\u66f4\u590d\u6742\u7684\u6e32\u67d3\u8fc7\u7a0b\uff0c\u56e0\u4e3a\u6d4f\u89c8\u5668\u4f1a\u8bd5\u56fe\u51c6\u5907\u53ef\u80fd\u5b58\u5728\u7684\u53d8\u5316\u8fc7\u7a0b\u3002\u8fd9\u4f1a\u5bfc\u81f4\u66f4\u4e25\u91cd\u7684\u6027\u80fd\u95ee\u9898\u3002<\/p>\n<\/section>\n<\/li>\n<li style=\"outline: 0px;\">\n<section style=\"margin-top: 5px;margin-bottom: 5px;outline: 0px;line-height: 26px;color: rgb(1, 1, 1);\">\n<p style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;color: black;\">\u7ed9\u5b83\u8db3\u591f\u7684\u5de5\u4f5c\u65f6\u95f4\uff1a\u8fd9\u4e2a\u5c5e\u6027\u662f\u7528\u6765\u8ba9\u9875\u9762\u5f00\u53d1\u8005\u544a\u77e5\u6d4f\u89c8\u5668\u54ea\u4e9b\u5c5e\u6027\u53ef\u80fd\u4f1a\u53d8\u5316\u7684\u3002\u7136\u540e\u6d4f\u89c8\u5668\u53ef\u4ee5\u9009\u62e9\u5728\u53d8\u5316\u53d1\u751f\u524d\u63d0\u524d\u53bb\u505a\u4e00\u4e9b\u4f18\u5316\u5de5\u4f5c\u3002\u6240\u4ee5\u7ed9\u6d4f\u89c8\u5668\u4e00\u70b9\u65f6\u95f4\u53bb\u771f\u6b63\u505a\u8fd9\u4e9b\u4f18\u5316\u5de5\u4f5c\u662f\u975e\u5e38\u91cd\u8981\u7684\u3002\u4f7f\u7528\u65f6\u9700\u8981\u5c1d\u8bd5\u53bb\u627e\u5230\u4e00\u4e9b\u65b9\u6cd5\u63d0\u524d\u4e00\u5b9a\u65f6\u95f4\u83b7\u77e5\u5143\u7d20\u53ef\u80fd\u53d1\u751f\u7684\u53d8\u5316\uff0c\u7136\u540e\u4e3a\u5b83\u52a0\u4e0a<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">will-change<\/code>\u5c5e\u6027\u3002<\/p>\n<\/section>\n<\/li>\n<\/ul>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u6709\u4eba\u8bf4<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;color: rgb(30, 107, 184);background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;\">will-change<\/code>\u662f\u826f\u836f\uff0c\u4e5f\u6709\u4eba\u8bf4\u662f\u6bd2\u836f\uff0c\u5728\u5177\u4f53\u4f7f\u7528\u7684\u65f6\u5019\uff0c\u53ef\u4ee5\u591a\u6d4b\u8bd5\u4e00\u4e0b\u3002<\/p>\n<h2 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 30px;margin-bottom: 15px;outline: 0px;font-weight: bold;font-size: 22px;\">\u6700\u540e<\/h2>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u597d\u4e86\uff0c\u672c\u6587\u4ece\u591a\u4e2a\u65b9\u9762\uff0c\u7531\u6d45\u5165\u6df1\u5730\u63cf\u8ff0\u4e86 CSS \u52a8\u753b\u6211\u8ba4\u4e3a\u7684\u4e00\u4e9b\u6bd4\u8f83\u91cd\u8981\u3001\u503c\u5f97\u4e00\u8bb2\u3001\u9700\u8981\u6ce8\u610f\u7684\u70b9\u3002\u5f53\u7136\u5f88\u591a\u5730\u65b9\u70b9\u5230\u5373\u6b62\uff0c\u6216\u8005\u9650\u4e8e\u7bc7\u5e45\u6ca1\u6709\u5b8c\u5168\u5c55\u5f00\uff0c\u5f88\u591a\u7ec6\u8282\u8fd8\u9700\u8981\u8bfb\u8005\u8fdb\u4e00\u6b65\u9605\u8bfb\u89c4\u8303\u6216\u8005\u81ea\u884c\u5c1d\u8bd5\u9a8c\u8bc1\uff0c\u5b9e\u8df5\u51fa\u771f\u77e5\uff0c\u7eb8\u4e0a\u5f97\u6765\u7ec8\u89c9\u6d45\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">OK\uff0c\u672c\u6587\u5230\u6b64\u7ed3\u675f\uff0c\u5e0c\u671b\u672c\u6587\u5bf9\u4f60\u6709\u6240\u5e2e\u52a9 :)<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u60f3 Get \u5230\u6700\u6709\u610f\u601d\u7684 CSS \u8d44\u8baf\uff0c\u5343\u4e07\u4e0d\u8981\u9519\u8fc7\u6211\u7684\u516c\u4f17\u53f7 --<strong style=\"outline: 0px;\">iCSS\u524d\u7aef\u8da3\u95fb<\/strong>\ud83d\ude04<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u66f4\u591a\u7cbe\u5f69 CSS \u6280\u672f\u6587\u7ae0\u6c47\u603b\u5728\u6211\u7684<span style=\"outline: 0px;color: rgb(30, 107, 184);font-weight: bold;\">Github -- iCSS<\/span><sup style=\"outline: 0px;line-height: 0;color: rgb(30, 107, 184);font-weight: bold;\">[16]<\/sup>\uff0c\u6301\u7eed\u66f4\u65b0\uff0c\u6b22\u8fce\u70b9\u4e2a star \u8ba2\u9605\u6536\u85cf\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;\">\u5982\u679c\u8fd8\u6709\u4ec0\u4e48\u7591\u95ee\u6216\u8005\u5efa\u8bae\uff0c\u53ef\u4ee5\u591a\u591a\u4ea4\u6d41\uff0c\u539f\u521b\u6587\u7ae0\uff0c\u6587\u7b14\u6709\u9650\uff0c\u624d\u758f\u5b66\u6d45\uff0c\u6587\u4e2d\u82e5\u6709\u4e0d\u6b63\u4e4b\u5904\uff0c\u4e07\u671b\u544a\u77e5\u3002<\/p>\n<h3 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 30px;margin-bottom: 15px;outline: 0px;font-weight: bold;font-size: 20px;\"><span style=\"outline: 0px;display: block;\">\u53c2\u8003\u8d44\u6599<\/span><\/h3>\n<section data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"outline: 0px;\"><span style=\"outline: 0px;display: flex;\"><span style=\"outline: 0px;width: 65.6875px;background-image: none;background-position: initial;background-size: initial;background-repeat: initial;background-attachment: initial;background-origin: initial;background-clip: initial;font-size: 12.8px;opacity: 0.6;line-height: 26px;font-family: ptima-Regular, Optima, PingFangSC-light, PingFangTC-light, &quot;PingFang SC&quot;, Cambria, Cochin, Georgia, Times, &quot;Times New Roman&quot;, serif;\">[1]<\/span><\/p>\n<p style=\"outline: 0px;display: inline;font-size: 14px;width: 591.297px;line-height: 26px;word-break: break-all;\">CSS Animations Level 1:<em style=\"outline: 0px;\">https:\/\/www.w3.org\/TR\/2018\/WD-css-animations-1-20181011\/<\/em><\/p>\n<p><\/span><span style=\"outline: 0px;display: flex;\"><span style=\"outline: 0px;width: 65.6875px;background-image: none;background-position: initial;background-size: initial;background-repeat: initial;background-attachment: initial;background-origin: initial;background-clip: initial;font-size: 12.8px;opacity: 0.6;line-height: 26px;font-family: ptima-Regular, Optima, PingFangSC-light, PingFangTC-light, &quot;PingFang SC&quot;, Cambria, Cochin, Georgia, Times, &quot;Times New Roman&quot;, serif;\">[2]<\/span><\/p>\n<p style=\"outline: 0px;display: inline;font-size: 14px;width: 591.297px;line-height: 26px;word-break: break-all;\">\u7eaf CSS \u5b9e\u73b0\u534e\u4e3a\u5145\u7535\u52a8\u753b:<em style=\"outline: 0px;\">https:\/\/codepen.io\/Chokcoco\/pen\/vYExwvm<\/em><\/p>\n<p><\/span><span style=\"outline: 0px;display: flex;\"><span style=\"outline: 0px;width: 65.6875px;background-image: none;background-position: initial;background-size: initial;background-repeat: initial;background-attachment: initial;background-origin: initial;background-clip: initial;font-size: 12.8px;opacity: 0.6;line-height: 26px;font-family: ptima-Regular, Optima, PingFangSC-light, PingFangTC-light, &quot;PingFang SC&quot;, Cambria, Cochin, Georgia, Times, &quot;Times New Roman&quot;, serif;\">[3]<\/span><\/p>\n<p style=\"outline: 0px;display: inline;font-size: 14px;width: 591.297px;line-height: 26px;word-break: break-all;\">\u7eaf CSS \u5b9e\u73b0\u706b\u7130\u52a8\u753b:<em style=\"outline: 0px;\">https:\/\/codepen.io\/Chokcoco\/pen\/jJJbmz<\/em><\/p>\n<p><\/span><span style=\"outline: 0px;display: flex;\"><span style=\"outline: 0px;width: 65.6875px;background-image: none;background-position: initial;background-size: initial;background-repeat: initial;background-attachment: initial;background-origin: initial;background-clip: initial;font-size: 12.8px;opacity: 0.6;line-height: 26px;font-family: ptima-Regular, Optima, PingFangSC-light, PingFangTC-light, &quot;PingFang SC&quot;, Cambria, Cochin, Georgia, Times, &quot;Times New Roman&quot;, serif;\">[4]<\/span><\/p>\n<p style=\"outline: 0px;display: inline;font-size: 14px;width: 591.297px;line-height: 26px;word-break: break-all;\">CodePen Demo -- \u5229\u7528\u8303\u56f4\u968f\u673a animation-duration \u548c animation-delay \u5b9e\u73b0\u968f\u673a\u52a8\u753b\u6548\u679c:<em style=\"outline: 0px;\">https:\/\/codepen.io\/Chokcoco\/pen\/JjyRYyR<\/em><\/p>\n<p><\/span><span style=\"outline: 0px;display: flex;\"><span style=\"outline: 0px;width: 65.6875px;background-image: none;background-position: initial;background-size: initial;background-repeat: initial;background-attachment: initial;background-origin: initial;background-clip: initial;font-size: 12.8px;opacity: 0.6;line-height: 26px;font-family: ptima-Regular, Optima, PingFangSC-light, PingFangTC-light, &quot;PingFang SC&quot;, Cambria, Cochin, Georgia, Times, &quot;Times New Roman&quot;, serif;\">[5]<\/span><\/p>\n<p style=\"outline: 0px;display: inline;font-size: 14px;width: 591.297px;line-height: 26px;word-break: break-all;\">cubic-bezier:<em style=\"outline: 0px;\">https:\/\/cubic-bezier.com\/#.25,.1,.25,1<\/em><\/p>\n<p><\/span><span style=\"outline: 0px;display: flex;\"><span style=\"outline: 0px;width: 65.6875px;background-image: none;background-position: initial;background-size: initial;background-repeat: initial;background-attachment: initial;background-origin: initial;background-clip: initial;font-size: 12.8px;opacity: 0.6;line-height: 26px;font-family: ptima-Regular, Optima, PingFangSC-light, PingFangTC-light, &quot;PingFang SC&quot;, Cambria, Cochin, Georgia, Times, &quot;Times New Roman&quot;, serif;\">[6]<\/span><\/p>\n<p style=\"outline: 0px;display: inline;font-size: 14px;width: 591.297px;line-height: 26px;word-break: break-all;\">CodePen Demo - \u7f13\u52a8\u4e0d\u540c\u6548\u679c\u4e0d\u540c:<em style=\"outline: 0px;\">https:\/\/codepen.io\/Chokcoco\/pen\/JjyxLMY<\/em><\/p>\n<p><\/span><span style=\"outline: 0px;display: flex;\"><span style=\"outline: 0px;width: 65.6875px;background-image: none;background-position: initial;background-size: initial;background-repeat: initial;background-attachment: initial;background-origin: initial;background-clip: initial;font-size: 12.8px;opacity: 0.6;line-height: 26px;font-family: ptima-Regular, Optima, PingFangSC-light, PingFangTC-light, &quot;PingFang SC&quot;, Cambria, Cochin, Georgia, Times, &quot;Times New Roman&quot;, serif;\">[7]<\/span><\/p>\n<p style=\"outline: 0px;display: inline;font-size: 14px;width: 591.297px;line-height: 26px;word-break: break-all;\">CodePen Demo -- Sprite Animation with steps() :<em style=\"outline: 0px;\">https:\/\/codepen.io\/Chokcoco\/pen\/JjrBqJZ<\/em><\/p>\n<p><\/span><span style=\"outline: 0px;display: flex;\"><span style=\"outline: 0px;width: 65.6875px;background-image: none;background-position: initial;background-size: initial;background-repeat: initial;background-attachment: initial;background-origin: initial;background-clip: initial;font-size: 12.8px;opacity: 0.6;line-height: 26px;font-family: ptima-Regular, Optima, PingFangSC-light, PingFangTC-light, &quot;PingFang SC&quot;, Cambria, Cochin, Georgia, Times, &quot;Times New Roman&quot;, serif;\">[8]<\/span><\/p>\n<p style=\"outline: 0px;display: inline;font-size: 14px;width: 591.297px;line-height: 26px;word-break: break-all;\">CodePen Demo -- Scale Loading steps vs linear:<em style=\"outline: 0px;\">https:\/\/codepen.io\/Chokcoco\/pen\/oNGMROO<\/em><\/p>\n<p><\/span><span style=\"outline: 0px;display: flex;\"><span style=\"outline: 0px;width: 65.6875px;background-image: none;background-position: initial;background-size: initial;background-repeat: initial;background-attachment: initial;background-origin: initial;background-clip: initial;font-size: 12.8px;opacity: 0.6;line-height: 26px;font-family: ptima-Regular, Optima, PingFangSC-light, PingFangTC-light, &quot;PingFang SC&quot;, Cambria, Cochin, Georgia, Times, &quot;Times New Roman&quot;, serif;\">[9]<\/span><\/p>\n<p style=\"outline: 0px;display: inline;font-size: 14px;width: 591.297px;line-height: 26px;word-break: break-all;\">CodePen Demo -- CSS Beer!:<em style=\"outline: 0px;\">https:\/\/codepen.io\/mikegolus\/pen\/jJzRwJ<\/em><\/p>\n<p><\/span><span style=\"outline: 0px;display: flex;\"><span style=\"outline: 0px;width: 65.6875px;background-image: none;background-position: initial;background-size: initial;background-repeat: initial;background-attachment: initial;background-origin: initial;background-clip: initial;font-size: 12.8px;opacity: 0.6;line-height: 26px;font-family: ptima-Regular, Optima, PingFangSC-light, PingFangTC-light, &quot;PingFang SC&quot;, Cambria, Cochin, Georgia, Times, &quot;Times New Roman&quot;, serif;\">[10]<\/span><\/p>\n<p style=\"outline: 0px;display: inline;font-size: 14px;width: 591.297px;line-height: 26px;word-break: break-all;\">SF - \u5982\u4f55\u7406\u89e3 animation-fill-mode:<em style=\"outline: 0px;\">https:\/\/segmentfault.com\/q\/1010000003867335<\/em><\/p>\n<p><\/span><span style=\"outline: 0px;display: flex;\"><span style=\"outline: 0px;width: 65.6875px;background-image: none;background-position: initial;background-size: initial;background-repeat: initial;background-attachment: initial;background-origin: initial;background-clip: initial;font-size: 12.8px;opacity: 0.6;line-height: 26px;font-family: ptima-Regular, Optima, PingFangSC-light, PingFangTC-light, &quot;PingFang SC&quot;, Cambria, Cochin, Georgia, Times, &quot;Times New Roman&quot;, serif;\">[11]<\/span><\/p>\n<p style=\"outline: 0px;display: inline;font-size: 14px;width: 591.297px;line-height: 26px;word-break: break-all;\">\u6df1\u5165\u7406\u89e3 CSS\uff08Cascading Style Sheets\uff09\u4e2d\u7684\u5c42\u53e0\uff08Cascading\uff09:<em style=\"outline: 0px;\">https:\/\/github.com\/chokcoco\/iCSS\/issues\/76<\/em><\/p>\n<p><\/span><span style=\"outline: 0px;display: flex;\"><span style=\"outline: 0px;width: 65.6875px;background-image: none;background-position: initial;background-size: initial;background-repeat: initial;background-attachment: initial;background-origin: initial;background-clip: initial;font-size: 12.8px;opacity: 0.6;line-height: 26px;font-family: ptima-Regular, Optima, PingFangSC-light, PingFangTC-light, &quot;PingFang SC&quot;, Cambria, Cochin, Georgia, Times, &quot;Times New Roman&quot;, serif;\">[12]<\/span><\/p>\n<p style=\"outline: 0px;display: inline;font-size: 14px;width: 591.297px;line-height: 26px;word-break: break-all;\">CSS Cascading and Inheritance Level 5(Current Work):<em style=\"outline: 0px;\">https:\/\/www.w3.org\/TR\/css-cascade-5\/#cascade-sort<\/em><\/p>\n<p><\/span><span style=\"outline: 0px;display: flex;\"><span style=\"outline: 0px;width: 65.6875px;background-image: none;background-position: initial;background-size: initial;background-repeat: initial;background-attachment: initial;background-origin: initial;background-clip: initial;font-size: 12.8px;opacity: 0.6;line-height: 26px;font-family: ptima-Regular, Optima, PingFangSC-light, PingFangTC-light, &quot;PingFang SC&quot;, Cambria, Cochin, Georgia, Times, &quot;Times New Roman&quot;, serif;\">[13]<\/span><\/p>\n<p style=\"outline: 0px;display: inline;font-size: 14px;width: 591.297px;line-height: 26px;word-break: break-all;\">CodePen Demo - the priority of CSS Animation:<em style=\"outline: 0px;\">https:\/\/codepen.io\/Chokcoco\/pen\/PowaXjM<\/em><\/p>\n<p><\/span><span style=\"outline: 0px;display: flex;\"><span style=\"outline: 0px;width: 65.6875px;background-image: none;background-position: initial;background-size: initial;background-repeat: initial;background-attachment: initial;background-origin: initial;background-clip: initial;font-size: 12.8px;opacity: 0.6;line-height: 26px;font-family: ptima-Regular, Optima, PingFangSC-light, PingFangTC-light, &quot;PingFang SC&quot;, Cambria, Cochin, Georgia, Times, &quot;Times New Roman&quot;, serif;\">[14]<\/span><\/p>\n<p style=\"outline: 0px;display: inline;font-size: 14px;width: 591.297px;line-height: 26px;word-break: break-all;\">\u3010Web\u52a8\u753b\u3011CSS3 3D \u884c\u661f\u8fd0\u8f6c &amp;&amp; \u6d4f\u89c8\u5668\u6e32\u67d3\u539f\u7406:<em style=\"outline: 0px;\">https:\/\/www.cnblogs.com\/coco1s\/p\/5439619.html<\/em><\/p>\n<p><\/span><span style=\"outline: 0px;display: flex;\"><span style=\"outline: 0px;width: 65.6875px;background-image: none;background-position: initial;background-size: initial;background-repeat: initial;background-attachment: initial;background-origin: initial;background-clip: initial;font-size: 12.8px;opacity: 0.6;line-height: 26px;font-family: ptima-Regular, Optima, PingFangSC-light, PingFangTC-light, &quot;PingFang SC&quot;, Cambria, Cochin, Georgia, Times, &quot;Times New Roman&quot;, serif;\">[15]<\/span><\/p>\n<p style=\"outline: 0px;display: inline;font-size: 14px;width: 591.297px;line-height: 26px;word-break: break-all;\">Accelerated Rendering in Chrome:<em style=\"outline: 0px;\">https:\/\/www.html5rocks.com\/zh\/tutorials\/speed\/layers\/#disqus_thread<\/em><\/p>\n<p><\/span><span style=\"outline: 0px;display: flex;\"><span style=\"outline: 0px;width: 65.6875px;background-image: none;background-position: initial;background-size: initial;background-repeat: initial;background-attachment: initial;background-origin: initial;background-clip: initial;font-size: 12.8px;opacity: 0.6;line-height: 26px;font-family: ptima-Regular, Optima, PingFangSC-light, PingFangTC-light, &quot;PingFang SC&quot;, Cambria, Cochin, Georgia, Times, &quot;Times New Roman&quot;, serif;\">[16]<\/span><\/p>\n<p style=\"outline: 0px;display: inline;font-size: 14px;width: 591.297px;line-height: 26px;word-break: break-all;\">Github -- iCSS:<em style=\"outline: 0px;\">https:\/\/github.com\/chokcoco\/iCSS<\/em><\/p>\n<p><\/span><\/section>\n<\/section>\n<section class=\"mp_profile_iframe_wrp\"><mp-common-profile class=\"js_uneditable custom_select_card mp_profile_iframe\" data-pluginname=\"mpprofile\" data-id=\"Mzg4NzU5NzY4MQ==\" data-headimg=\"http:\/\/mmbiz.qpic.cn\/mmbiz_png\/1gD0GAa6G4oraicNFHoRuQkDwUT87aBC1AejMJtMDP3SeGgBb8e7Ijx8WiahvlkznEp0B3SeLzDAQ0vOskZRc4YA\/0?wx_fmt=png\" data-nickname=\"\u6280\u672f\u80d6\u5b66\u7a0b\u5e8f\" data-alias=\"CodePang\" data-signature=\"\u5341\u56db\u5e74\u7a0b\u5e8f\u5f00\u53d1\u7ecf\u9a8c\u522b\u518d\u56e0\u4e3a\u6280\u672f\u800c\u52a0\u73ed\u8d44\u6599\uff1a\u5173\u6ce8\u540e\u79c1\u4fe1\u770b\u770b\u5b66\u4e60\uff1a\u6bcf\u5468\u548c\u80d6\u54e5\u4e00\u8d77\u9ad8\u6548\u5b66\u4e60\" data-from=\"0\" data-is_biz_ban=\"0\"><\/mp-common-profile><\/section>\n<p style=\"display: none;\"><mp-style-type data-value=\"3\"><\/mp-style-type><\/p>\n<blockquote>\n<p>\u672c\u7bc7\u6587\u7ae0\u6765\u6e90\u4e8e\u5fae\u4fe1\u516c\u4f17\u53f7:                 \u6280\u672f\u80d6\u5b66\u7a0b\u5e8f              <\/p>\n<\/blockquote>\n<\/div>\n","raw":"","protected":false},"excerpt":{"rendered":"<p>\u672c\u6587\u5c06\u6bd4\u8f83\u5168\u9762\u7ec6\u81f4\u7684\u68b3\u7406\u4e00\u4e0b CSS \u52a8\u753b\u7684\u65b9\u65b9\u9762\u9762\uff0c\u9488\u5bf9\u6bcf\u4e2a\u5c5e\u6027\u7528\u6cd5\u7684\u8bb2\u89e3\u53ca\u8fdb\u9636\u7528\u6cd5\u7684\u793a\u610f\uff0c\u5e0c\u671b\u80fd\u6210\u4e3a\u4e00\u4e2a\u6bd4\u8f83\u597d\u7684\u4ece\u5165\u95e8\u5230\u8fdb\u9636\u7684 &#8230;<\/p>\n","protected":false},"author":1,"featured_media":4925,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"emotion":"","emotion_color":"","title_style":"","license":"","footnotes":""},"categories":[1],"tags":[],"class_list":["post-4984","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized"],"post_thumbnail_image":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214610805-150x150.jpeg","content_first_image":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214619763.gif","post_medium_image_300":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214610805-300x128.jpeg","post_thumbnail_image_624":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214610805-1024x436.jpeg","post_frist_image":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214619763.gif","post_medium_image":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214610805-300x128.jpeg","post_large_image":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214610805-1024x436.jpeg","post_full_image":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214610805.jpeg","post_all_images":[{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214619763.gif","id":"image0"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214619763.gif","id":"image1"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214621421.webp","id":"image2"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214621421.webp","id":"image3"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214621202.gif","id":"image4"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214621202.gif","id":"image5"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214624852.gif","id":"image6"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214624852.gif","id":"image7"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214628426.gif","id":"image8"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214628426.gif","id":"image9"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214631538.gif","id":"image10"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214631538.gif","id":"image11"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214634204.gif","id":"image12"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214634204.gif","id":"image13"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214641144.gif","id":"image14"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214641144.gif","id":"image15"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214646740.gif","id":"image16"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214646740.gif","id":"image17"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214652635.gif","id":"image18"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214652635.gif","id":"image19"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214655365.gif","id":"image20"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214655365.gif","id":"image21"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214702314.webp","id":"image22"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214702314.webp","id":"image23"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214702908.gif","id":"image24"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214702908.gif","id":"image25"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214706370.gif","id":"image26"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214706370.gif","id":"image27"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214721924.webp","id":"image28"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214721924.webp","id":"image29"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214723750.gif","id":"image30"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214723750.gif","id":"image31"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214735189.webp","id":"image32"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214735189.webp","id":"image33"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214735176.webp","id":"image34"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214735176.webp","id":"image35"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214736891.gif","id":"image36"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214736891.gif","id":"image37"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214741418.gif","id":"image38"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214741418.gif","id":"image39"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214753716.webp","id":"image40"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214753716.webp","id":"image41"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214753598.gif","id":"image42"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214753598.gif","id":"image43"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214757912.gif","id":"image44"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214757912.gif","id":"image45"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214800677.gif","id":"image46"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214800677.gif","id":"image47"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214803963.gif","id":"image48"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214803963.gif","id":"image49"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214821147.webp","id":"image50"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214821147.webp","id":"image51"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214822845.webp","id":"image52"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214822845.webp","id":"image53"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214822897.webp","id":"image54"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214822897.webp","id":"image55"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214823513.webp","id":"image56"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214823513.webp","id":"image57"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214823944.webp","id":"image58"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214823944.webp","id":"image59"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214824497.webp","id":"image60"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214824497.webp","id":"image61"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214824366.gif","id":"image62"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214824366.gif","id":"image63"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214827652.webp","id":"image64"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214827652.webp","id":"image65"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214827769.webp","id":"image66"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214827769.webp","id":"image67"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214828431.webp","id":"image68"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214828431.webp","id":"image69"}],"videoAdId":"","listAd":"0","listAdId":"","listAdEvery":6,"total_comments":0,"category_name":"\u672a\u5206\u7c7b","post_date":"2024-08-01","like_count":"0","praiseWord":"\u9f13\u52b1","copyright_state":"","excitationAd":"0","rewardedVideoAdId":"","detailAdId":"","detailAd":"0","enterpriseMinapp":"0","audios":[],"postImageUrl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230519082947553.jpg","avatarurls":[],"related_posts":null,"pageviews":257,"next_post_id":5137,"next_post_title":"\u5206\u5e03\u5f0f\u9501","previous_post_id":5316,"previous_post_title":"\u771f\u662f\u4e07\u7269\u7686\u53ef\u524d\u7aef\u554a\uff01\u524d\u7aef\u4e5f\u80fd\u622a\u56fe\u5566~","_links":{"self":[{"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/posts\/4984","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/comments?post=4984"}],"version-history":[{"count":1,"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/posts\/4984\/revisions"}],"predecessor-version":[{"id":6324,"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/posts\/4984\/revisions\/6324"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/media\/4925"}],"wp:attachment":[{"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/media?parent=4984"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/categories?post=4984"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/tags?post=4984"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}