{"id":5697,"date":"2024-04-14T21:03:22","date_gmt":"2024-04-14T13:03:22","guid":{"rendered":"https:\/\/webflow.tenten.co\/?p=5697"},"modified":"2024-04-14T21:03:22","modified_gmt":"2024-04-14T13:03:22","slug":"give-motion-to-an-element-during-scrolling","status":"publish","type":"post","link":"https:\/\/webflow.tenten.co\/zh_cn\/give-motion-to-an-element-during-scrolling\/","title":{"rendered":"\u5728\u6eda\u52a8\u671f\u95f4\u4e3a\u5143\u7d20\u6dfb\u52a0\u52a8\u611f"},"content":{"rendered":"<div class=\"docs_rich-text w-richtext\">\n<p><\/p>\n<p>\u4f5c\u4e3a Webflow \u4e2d\u6709\u5173 After Effects \u548c Lottie \u7684\u7cfb\u5217\u6587\u7ae0\u7684\u4e00\u90e8\u5206\uff0c\u6211\u4eec\u5728 After Effects \u4e2d\u5236\u4f5c\u4e86\u4e00\u4e2a Lottie \u52a8\u753b\u3002\u5728\u672c\u6307\u5357\u4e2d\uff0c\u6211\u4eec\u5c06\u914d\u7f6e Lottie \u8d44\u6e90\u4ee5\u5728\u53ef\u89c1\u65f6\u8fdb\u884c\u52a8\u753b\u5904\u7406\u3002<\/p>\n<p>\u6211\u4eec\u5c06\u5206\u56db\u4e2a\u9636\u6bb5\u5b9e\u73b0\u8fd9\u4e00\u76ee\u6807\uff1a<\/p>\n<ol>\n<li>\u6574\u5408 Lottie \u8d44\u4ea7<\/li>\n<li>\u5efa\u7acb\u6eda\u52a8\u89e6\u53d1\u5668<\/li>\n<li>\u8bbe\u7f6e\u52a8\u753b\n<\/li>\n<\/ol>\n<h2>1. \u6574\u5408Lottie\u8d44\u4ea7<\/h2>\n<p>\u60a8\u5fc5\u987b\u4ece After Effects \u5bfc\u51fa Lottie \u52a8\u753b\u5e76\u5c06\u5176\u4e0a\u4f20\u5230\u60a8\u7684 Webflow \u9879\u76ee\u3002\u6211\u4eec\u4f7f\u7528 Bodymovin \u5bfc\u51fa\u52a8\u753b\u3002\u8bf7\u53c2\u9605\u6211\u4eec\u5b8c\u6574\u6307\u5357\u7684\u7b2c 3 \u6b65\u548c\u7b2c 4 \u6b65\u4e86\u89e3\u5982\u4f55\u5b8c\u6210\u6b64\u64cd\u4f5c\u3002\u00a0<\/p>\n<p>\u5bf9\u4e8e\u6b64\u4f5c\u4e1a\uff0c\u4f60\u9700\u8981\u51c6\u5907 3 \u4e2a\u90e8\u5206\u2014\u2014\u8bf7\u53c2\u9605\u6211\u4eec\u7684\u90e8\u5206\u6307\u5357\u6216 <a href=\"https:\/\/webflow.com\/website\/After-Effects-and-Lottie-or-Animate-while-scrolling\">\u514b\u9686\u9879\u76ee<\/a>.<\/p>\n<p>\u8981\u5b9a\u4f4d\u5e76\u6dfb\u52a0\u52a8\u753b\uff0c\u8bf7\u4ece\u5de6\u4fa7\u680f\u7684\u201c\u8d44\u4ea7\u201d\u9762\u677f\u4e2d\u9009\u62e9\u56fe\u50cf\u56fe\u6807\uff0c\u7136\u540e\u5c06\u52a8\u753b\u653e\u5230\u4e2d\u592e\u90e8\u5206\u3002\u00a0<\/p>\n<figure class=\"w-richtext-figure-type-video w-richtext-align-fullwidth\" data-rt-type=\"video\" data-rt-align=\"fullwidth\" data-rt-max-width=\"\" data-rt-max-height=\"50.23474178403755%\" data-rt-dimensions=\"426:214\" data-page-url=\"https:\/\/vimeo.com\/411109453\">\n<div><iframe allowfullscreen frameborder scrolling=\"no\" src=\"https:\/\/player.vimeo.com\/video\/411109453\"><\/iframe><\/div>\n<\/figure>\n<p>\u592a\u68d2\u4e86\uff01\u73b0\u5728\uff0c\u8ba9\u6211\u4eec\u5efa\u7acb\u89e6\u53d1\u5668\u3002<\/p>\n<h2>2. \u8bbe\u7f6e\u57fa\u4e8e\u6eda\u52a8\u7684\u89e6\u53d1\u5668<\/h2>\n<p>\u5728\u6dfb\u52a0\u89e6\u53d1\u5668\u4e4b\u524d\uff0c\u6211\u4eec\u9700\u8981\u786e\u4fdd\u9009\u62e9\u4e86\u52a8\u753b\uff08\u800c\u4e0d\u662f\u5176\u4ed6\u5143\u7d20\uff09\u3002\u6211\u4eec\u5e0c\u671b\u5728\u6eda\u52a8\u65f6\u53d1\u751f\u6b64\u52a8\u753b\u3002\u4ece\u53f3\u4fa7\u8fb9\u680f\u7684\u201c\u4ea4\u4e92\u201d\u9762\u677f\u4e2d\uff0c\u6253\u5f00\u201c\u5143\u7d20\u89e6\u53d1\u5668\u201d\u83dc\u5355\u5e76\u9009\u62e9\u201c\u5728\u89c6\u56fe\u4e2d\u6eda\u52a8\u65f6\u201d\u3002<\/p>\n<figure class=\"w-richtext-figure-type-video w-richtext-align-fullwidth\" data-rt-type=\"video\" data-rt-align=\"fullwidth\" data-rt-max-width=\"\" data-rt-max-height=\"50.23474178403755%\" data-rt-dimensions=\"426:214\" data-page-url=\"https:\/\/vimeo.com\/411109394\">\n<div><iframe allowfullscreen frameborder scrolling=\"no\" src=\"https:\/\/player.vimeo.com\/video\/411109394\"><\/iframe><\/div>\n<\/figure>\n<p>\u7559\u5728\u201c\u4ea4\u4e92\u201d\u9762\u677f\u5185\u6765\u914d\u7f6e\u6211\u4eec\u6700\u7ec8\u6b65\u9aa4\u4e2d\u7684\u52a8\u753b\u3002<\/p>\n<h2>3.\u8bbe\u7f6e\u52a8\u753b<\/h2>\n<p>\u8ba9\u6211\u4eec\u901a\u8fc7\u52a8\u753b\u6765\u8ba9\u8fd9\u4e2a\u52a8\u753b\u53d8\u5f97\u751f\u52a8\u8d77\u6765\u3002 <strong>\u6eda\u52a8\u65f6<\/strong>\uff0c \u6311\u9009 <strong>\u64ad\u653e\u6eda\u52a8\u52a8\u753b<\/strong> \u4ece\u64cd\u4f5c\u83dc\u5355\u4e2d\u3002\u5728\u6eda\u52a8\u52a8\u753b\u65c1\u8fb9\uff0c\u70b9\u51fb\u52a0\u53f7\u5e76\u4ece\u4e0b\u62c9\u83dc\u5355\u4e2d\u9009\u62e9 Lottie \u4ee5\u5305\u542b\u6211\u4eec\u7684\u521d\u59cb\u64cd\u4f5c\u3002\u00a0<\/p>\n<figure class=\"w-richtext-figure-type-video w-richtext-align-fullwidth\" data-rt-type=\"video\" data-rt-align=\"fullwidth\" data-rt-max-width=\"\" data-rt-max-height=\"50.23474178403755%\" data-rt-dimensions=\"426:214\" data-page-url=\"https:\/\/vimeo.com\/411109342\">\n<div><iframe allowfullscreen frameborder scrolling=\"no\" src=\"https:\/\/player.vimeo.com\/video\/411109342\"><\/iframe><\/div>\n<\/figure>\n<p>\u5728 Scroll Actions \u65f6\u95f4\u8f74\u4e2d\u9009\u62e9 100% \u5904\u7684\u52a8\u753b\uff0c\u7136\u540e\u5728\u4e0b\u65b9\u7684 Lottie \u4e0b\u5c06\u5176\u8c03\u6574\u4e3a 100%\u3002\u00a0<\/p>\n<figure class=\"w-richtext-figure-type-video w-richtext-align-fullwidth\" data-rt-type=\"video\" data-rt-align=\"fullwidth\" data-rt-max-width=\"\" data-rt-max-height=\"50.23474178403755%\" data-rt-dimensions=\"426:214\" data-page-url=\"https:\/\/vimeo.com\/411109293\">\n<div><iframe allowfullscreen frameborder scrolling=\"no\" src=\"https:\/\/player.vimeo.com\/video\/411109293\"><\/iframe><\/div>\n<\/figure>\n<p>\u73b0\u5728\uff0c\u52a8\u753b\u5c06\u4ece 0% \u5f00\u59cb\uff0c\u5e76\u5728\u6eda\u52a8\u51fa\u89c6\u56fe\u65f6\u5230\u8fbe 100%\u3002\u00a0<\/p>\n<p>\u60a8\u53ef\u4ee5\u542f\u7528\u5b9e\u65f6\u9884\u89c8\u6a21\u5f0f\u6216\u5728\u9884\u89c8\u4e2d\u8bc4\u4f30\u60a8\u7684\u5de5\u4f5c\uff0c\u4ee5\u89c2\u5bdf\u6eda\u52a8\u65f6\u7684\u52a8\u753b\u8fdb\u7a0b\u3002\u00a0<\/p>\n<pThat's all \u2014 you have successfully crafted a scroll-based Lottie animation in the Webflow designer. Kudos!\n<\/div>","protected":false},"excerpt":{"rendered":"\u4f5c\u4e3a Webflow \u4e2d After Effects \u548c Lottie \u7cfb\u5217\u7684\u4e00\u90e8\u5206\uff0c\u6211\u4eec\u5236\u4f5c\u4e86\u4e00\u4e2a Lottie \u52a8\u753b\u2026\u2026","protected":false},"author":2,"featured_media":5698,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"om_disable_all_campaigns":false,"inline_featured_image":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"csco_display_header_overlay":false,"csco_singular_sidebar":"","csco_page_header_type":"","footnotes":""},"categories":[301],"tags":[],"class_list":{"0":"post-5697","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-interactions-animations","8":"cs-entry"},"acf":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/webflow.tenten.co\/zh_cn\/wp-json\/wp\/v2\/posts\/5697","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webflow.tenten.co\/zh_cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webflow.tenten.co\/zh_cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webflow.tenten.co\/zh_cn\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/webflow.tenten.co\/zh_cn\/wp-json\/wp\/v2\/comments?post=5697"}],"version-history":[{"count":0,"href":"https:\/\/webflow.tenten.co\/zh_cn\/wp-json\/wp\/v2\/posts\/5697\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/webflow.tenten.co\/zh_cn\/wp-json\/wp\/v2\/media\/5698"}],"wp:attachment":[{"href":"https:\/\/webflow.tenten.co\/zh_cn\/wp-json\/wp\/v2\/media?parent=5697"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webflow.tenten.co\/zh_cn\/wp-json\/wp\/v2\/categories?post=5697"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webflow.tenten.co\/zh_cn\/wp-json\/wp\/v2\/tags?post=5697"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}