{"id":943,"date":"2018-07-03T11:21:14","date_gmt":"2018-07-03T05:51:14","guid":{"rendered":"https:\/\/holithemes.com\/plugins\/click\/?p=943"},"modified":"2018-07-03T11:21:14","modified_gmt":"2018-07-03T05:51:14","slug":"change-animation-type-to-swing","status":"publish","type":"post","link":"https:\/\/holithemes.com\/plugins\/click\/change-animation-type-to-swing\/","title":{"rendered":"Change Animation Type to Swing"},"content":{"rendered":"\n<p>To Change the Animation type for floating styles to \u201cswing\u201d.<\/p>\n\n\n\n<p>Navigate to Animation Settings ( Click -> Customize Styles &#8211; Animations )<\/p>\n\n\n\n<p>Change \u201cAnimation Class name\u201d, \u201cAnimation CSS code\u201d.<\/p>\n\n\n\n<p><strong>Animation Class name<\/strong>: swing<\/p>\n\n\n\n<p><strong>Animation code<\/strong> :<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>@keyframes swing {\n  20% {\n    transform: rotate3d(0, 0, 1, 15deg);\n  }\n\n  40% {\n    transform: rotate3d(0, 0, 1, -10deg);\n  }\n\n  60% {\n    transform: rotate3d(0, 0, 1, 5deg);\n  }\n\n  80% {\n    transform: rotate3d(0, 0, 1, -5deg);\n  }\n\n  to {\n    transform: rotate3d(0, 0, 1, 0deg);\n  }\n}\n\n.swing {\n  transform-origin: top center;\n  animation-name: swing;\n}<\/code><\/pre>\n\n\n\n<p>See here, how it looks like.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"1089\" height=\"783\" src=\"https:\/\/holithemes.com\/plugins\/click\/wp-content\/uploads\/2018\/07\/swing.png\" alt=\"\" class=\"wp-image-1116\" srcset=\"https:\/\/holithemes.com\/plugins\/click\/wp-content\/uploads\/2018\/07\/swing.png 1089w, https:\/\/holithemes.com\/plugins\/click\/wp-content\/uploads\/2018\/07\/swing-300x216.png 300w, https:\/\/holithemes.com\/plugins\/click\/wp-content\/uploads\/2018\/07\/swing-1024x736.png 1024w, https:\/\/holithemes.com\/plugins\/click\/wp-content\/uploads\/2018\/07\/swing-768x552.png 768w\" sizes=\"(max-width: 1089px) 100vw, 1089px\" \/><\/figure>\n\n\n\n<hr class=\"wp-block-separator\" \/>\n\n\n\n<p><a href=\"https:\/\/github.com\/daneden\/animate.css\/blob\/master\/source\/attention_seekers\/swing.css\">Swing Animation code<\/a> from Animate.css<\/p>\n\n\n\n<p>It easy to select animation type from this\u00a0<a rel=\"nofollow\" href=\"https:\/\/daneden.github.io\/animate.css\/\">Animate.css Demo<\/a>, For performance reason, Instead of we adding a bundle with\u00a0a\u00a0lot of animations types,\u00a0 we added a way to add only selected animation type.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>To Change the Animation type for floating styles to \u201cswing\u201d. Navigate to Animation Settings ( Click -> Customize Styles &#8211; Animations ) Change \u201cAnimation Class name\u201d, \u201cAnimation CSS code\u201d. Animation Class name: swing Animation code : See here, how it looks like. Swing Animation code from Animate.css It easy to select animation type from this\u00a0Animate.css &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"\" href=\"https:\/\/holithemes.com\/plugins\/click\/change-animation-type-to-swing\/\"> <span class=\"screen-reader-text\">Change Animation Type to Swing<\/span> Read More &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"default","ast-site-content-layout":"","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""}},"footnotes":""},"categories":[3],"tags":[],"class_list":["post-943","post","type-post","status-publish","format-standard","hentry","category-docs"],"_links":{"self":[{"href":"https:\/\/holithemes.com\/plugins\/click\/wp-json\/wp\/v2\/posts\/943","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/holithemes.com\/plugins\/click\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/holithemes.com\/plugins\/click\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/holithemes.com\/plugins\/click\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/holithemes.com\/plugins\/click\/wp-json\/wp\/v2\/comments?post=943"}],"version-history":[{"count":0,"href":"https:\/\/holithemes.com\/plugins\/click\/wp-json\/wp\/v2\/posts\/943\/revisions"}],"wp:attachment":[{"href":"https:\/\/holithemes.com\/plugins\/click\/wp-json\/wp\/v2\/media?parent=943"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/holithemes.com\/plugins\/click\/wp-json\/wp\/v2\/categories?post=943"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/holithemes.com\/plugins\/click\/wp-json\/wp\/v2\/tags?post=943"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}