{"id":33968,"date":"2019-03-04T10:31:19","date_gmt":"2019-03-04T10:31:19","guid":{"rendered":"http:\/\/getshortcodes.com\/?post_type=docs&#038;p=33968"},"modified":"2020-10-21T13:50:16","modified_gmt":"2020-10-21T13:50:16","slug":"animation","status":"publish","type":"docs","link":"https:\/\/getshortcodes.com\/docs\/animation\/","title":{"rendered":"Animation"},"content":{"rendered":"<div class=\"block-demo block-demo-default\">\n\t<div class=\"block-demo-viewport\">\n\t\t<div class=\"su-animate\" style=\"opacity:0;-webkit-animation-duration:1s;-webkit-animation-delay:0s;animation-duration:1s;animation-delay:0s;\" data-animation=\"bounceIn\" data-duration=\"1\" data-delay=\"0\">Animated content<\/div>\n\t<\/div>\n\t<div class=\"block-demo-source\">\n\t\t<pre contenteditable=\"true\"><div class=\"su-animate\" style=\"opacity:0;-webkit-animation-duration:&quot;1&quot;s;-webkit-animation-delay:0s;animation-duration:&quot;1&quot;s;animation-delay:0s;\" data-animation=\"&quot;bounceIn&quot;\" data-duration=\"&quot;1&quot;\" data-delay=\"0\">Animated content<\/div><\/pre>\n\t<\/div>\n<\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"description\">Description<\/h2>\n\n\n\n<p>This shortcode allows animating almost everything.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"options\">Options<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><th>Option name<\/th><th>Possible values<\/th><th>Default value<\/th><\/tr><tr><td><strong>type<\/strong><br>Select animation type<\/td><td>flash (flash)<br>bounce (bounce)<br>shake (shake)<br>tada (tada)<br>swing (swing)<br>wobble (wobble)<br>pulse (pulse)<br>flip (flip)<br>flipInX (flipInX)<br>flipOutX (flipOutX)<br>flipInY (flipInY)<br>flipOutY (flipOutY)<br>fadeIn (fadeIn)<br>fadeInUp (fadeInUp)<br>fadeInDown (fadeInDown)<br>fadeInLeft (fadeInLeft)<br>fadeInRight (fadeInRight)<br>fadeInUpBig (fadeInUpBig)<br>fadeInDownBig (fadeInDownBig)<br>fadeInLeftBig (fadeInLeftBig)<br>fadeInRightBig (fadeInRightBig)<br>fadeOut (fadeOut)<br>fadeOutUp (fadeOutUp)<br>fadeOutDown (fadeOutDown)<br>fadeOutLeft (fadeOutLeft)<br>fadeOutRight (fadeOutRight)<br>fadeOutUpBig (fadeOutUpBig)<br>fadeOutDownBig (fadeOutDownBig)<br>fadeOutLeftBig (fadeOutLeftBig)<br>fadeOutRightBig (fadeOutRightBig)<br>slideInDown (slideInDown)<br>slideInLeft (slideInLeft)<br>slideInRight (slideInRight)<br>slideOutUp (slideOutUp)<br>slideOutLeft (slideOutLeft)<br>slideOutRight (slideOutRight)<br>bounceIn (bounceIn)<br>bounceInDown (bounceInDown)<br>bounceInUp (bounceInUp)<br>bounceInLeft (bounceInLeft)<br>bounceInRight (bounceInRight)<br>bounceOut (bounceOut)<br>bounceOutDown (bounceOutDown)<br>bounceOutUp (bounceOutUp)<br>bounceOutLeft (bounceOutLeft)<br>bounceOutRight (bounceOutRight)<br>rotateIn (rotateIn)<br>rotateInDownLeft (rotateInDownLeft)<br>rotateInDownRight (rotateInDownRight)<br>rotateInUpLeft (rotateInUpLeft)<br>rotateInUpRight (rotateInUpRight)<br>rotateOut (rotateOut)<br>rotateOutDownLeft (rotateOutDownLeft)<br>rotateOutDownRight (rotateOutDownRight)<br>rotateOutUpLeft (rotateOutUpLeft)<br>rotateOutUpRight (rotateOutUpRight)<br>lightSpeedIn (lightSpeedIn)<br>lightSpeedOut (lightSpeedOut)<br>hinge (hinge)<br>rollIn (rollIn)<br>rollOut (rollOut)<\/td><td>bounceIn<\/td><\/tr><tr><td><strong>duration<\/strong><br>Animation duration (seconds)<\/td><td>Number from 0 to 20<\/td><td>1<\/td><\/tr><tr><td><strong>delay<\/strong><br>Animation delay (seconds)<\/td><td>Number from 0 to 20<\/td><td>0<\/td><\/tr><tr><td><strong>inline<\/strong><br>This parameter determines what HTML tag will be used for animation wrapper. Turn this option to YES and animated element will be wrapped in SPAN instead of DIV. Useful for inline animations, like buttons<\/td><td>yes or no<\/td><td>no<\/td><\/tr><tr><td><strong>class<\/strong><br>Additional CSS class name(s) separated by space(s)<\/td><td>CSS class name(s) separated by space(s)<\/td><td><em>\u2013 none \u2013<\/em><\/td><\/tr><\/tbody><\/table><\/figure>\n","protected":false},"featured_media":36659,"template":"","docs_category":[21],"class_list":["post-33968","docs","type-docs","status-publish","has-post-thumbnail","hentry","docs_category-shortcodes"],"_links":{"self":[{"href":"https:\/\/getshortcodes.com\/api\/wp\/v2\/docs\/33968","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/getshortcodes.com\/api\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/getshortcodes.com\/api\/wp\/v2\/types\/docs"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/getshortcodes.com\/api\/wp\/v2\/media\/36659"}],"wp:attachment":[{"href":"https:\/\/getshortcodes.com\/api\/wp\/v2\/media?parent=33968"}],"wp:term":[{"taxonomy":"docs_category","embeddable":true,"href":"https:\/\/getshortcodes.com\/api\/wp\/v2\/docs_category?post=33968"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}