{"id":9951,"date":"2022-06-08T19:25:00","date_gmt":"2022-06-08T13:55:00","guid":{"rendered":"https:\/\/email.uplers.com\/blogs\/?p=9951"},"modified":"2024-05-23T17:18:07","modified_gmt":"2024-05-23T11:48:07","slug":"css-animation-email","status":"publish","type":"post","link":"https:\/\/email.uplers.com\/blog\/css-animation-email\/","title":{"rendered":"Email Design Trends: Adding CSS Animation in Email"},"content":{"rendered":"\n<p>[This post was originally published on 9th Feb 2018. It has been updated on 8th June 2022.]<\/p>\n\n\n\n<p>Could our ancestors have ever thought that one day, moving photographs would be for real? While moving photographs are not possible in print media, digital media has already succeeded in adding value to static elements and images by animating them. All thanks to HTML animation codes and CSS, plain text emails have got a makeover and now email subscribers can enjoy different <a href=\"https:\/\/email.uplers.com\/first-email-template-free\/\" target=\"_blank\" rel=\"noopener noreferrer\">HTML email templates<\/a>.<\/p>\n<h2>Types of Possible Email Animations<\/h2>\n<h3>1. Animated GIFs<\/h3>\n<p>Traditionally, any email client that supported embedded images would support animated GIFs (except for Outlook and Lotus Notes). Email designers began diverting their attention to using animated GIFs in situations where multiple images needed to be displayed or just to include some animation in a plain email. In fact, back in 2014, <a href=\"https:\/\/www.marketingsherpa.com\/article\/case-study\/gif-centric-email-campaign\" target=\"_blank\" rel=\"nofollow noopener\">Dell witnessed 109% lift in their revenue by sending a GIF-centric email<\/a>.<\/p>\n<h3><a href=\"https:\/\/email.uplers.com\/interactive-email-templates\/?utm_source=blog&amp;utm_medium=CTA&amp;utm_campaign=css-animation-email\" target=\"_blank\" rel=\"noopener noreferrer\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-17118\" src=\"https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2019\/07\/rich-media.jpg\" alt=\"\" width=\"800\" height=\"200\" srcset=\"https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2019\/07\/rich-media.jpg 800w, https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2019\/07\/rich-media-300x75.jpg 300w, https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2019\/07\/rich-media-768x192.jpg 768w, https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2019\/07\/rich-media-624x156.jpg 624w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/a><\/h3>\n<h3>2. Cinemagraphs<\/h3>\n<p>Taking animated GIFs a step ahead, cinemagraphs have a static foreground with a single element moving \/ animating in the background. This creates a cinematic effect and hence the name \u201ccinemagraph\u201d.<\/p>\n<h3>3. Embedded Videos<\/h3>\n<p>As technology advanced, in the late 2000\u2019s email designers started to experiment with including videos that will play right in their inbox. In 2009, the push toward <a href=\"https:\/\/email.uplers.com\/email-template-production-services\/\" target=\"_blank\" rel=\"noopener noreferrer\">responsive emails<\/a> began and most native email clients started supporting video playback in the inbox. After experiencing a lull when Apple dropped support for video playback in iOS 8, embedded video in emails is making a strong comeback with increasing devices supporting it.<\/p>\n<p>Moreover, as per <a href=\"http:\/\/www.reuters.com\/article\/us-internet-consumers-cisco-systems-idUSKBN0EL15E20140610\" target=\"_blank\" rel=\"nofollow noopener\">Reuters<\/a>, more than 84 percent of communication in 2018 will be visual, so expect more emails featuring embedded videos.<\/p>\n<div id=\"attachment_9965\" style=\"width: 1903px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/email.uplers.com\/infographics\/rich-media-email-marketing\/\" target=\"_blank\" rel=\"noopener noreferrer\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-9965\" class=\"wp-image-9965 size-full\" src=\"https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2018\/02\/Rich-Media-in-emails.jpg\" alt=\"Rich Media in emails\" width=\"1893\" height=\"681\" \/><\/a><p id=\"caption-attachment-9965\" class=\"wp-caption-text\">Click on the above banner to know more about different rich media in emails<\/p><\/div>\n<h3>4. CSS Animations<\/h3>\n<p>HTML CSS animation is the latest fad that is gripping the email design domain. Earlier, gimmicks such as flip, hover, illumination, free fall et.c that were only possible in web pages using JavaScript and Flash are now easily replicated for emails using CSS wrapped around an HTML structure.<\/p>\n<h2>5. What is CSS animations and How can you add it to your emails?<\/h2>\n<p>HTML CSS animation in emails revolves around changing the CSS properties at regular intervals that are specified by keyframes. There are two components to create a CSS animation:<\/p>\n<p><strong>@keyframe<\/strong>: This specifies what styles the element will inherit at specified time intervals. Keyframes are not element specific and can be inherited by any elements that are specified using animation tag. This is placed in the &lt;head&gt; of CSS animation email.<\/p>\n<p><a href=\"https:\/\/email.uplers.com\/custom-email-templates-design-coding\/?utm_source=blog&amp;utm_medium=CTA&amp;utm_campaign=css-animation-email\" target=\"_blank\" rel=\"noopener noreferrer\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-17133\" src=\"https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2018\/04\/custom-email-design-coding.jpg\" alt=\"\" width=\"800\" height=\"200\" srcset=\"https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2018\/04\/custom-email-design-coding.jpg 800w, https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2018\/04\/custom-email-design-coding-300x75.jpg 300w, https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2018\/04\/custom-email-design-coding-768x192.jpg 768w, https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2018\/04\/custom-email-design-coding-624x156.jpg 624w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/a><\/p>\n<p><strong>Animation<\/strong>: This specifies what keyframes are to be included in the specified element. This is placed in the &lt;body&gt; of an email. There are two different CSS properties that can be used.<\/p>\n<ol>\n<li><strong>-animation- CSS property<\/strong><br \/>The animation property is a shorthand property for eight of the animation properties:\n<p>\u00a0<\/p>\n<ul>\n<li>Animation-name: Specifies the name of the keyframe you want to associate with an element.<\/li>\n<li>Animation-duration: Specifies the time duration for which the animation runs. Duration is either in seconds or milliseconds. If it is not specified, it takes default value i.e. 0ms. At 0ms, animation won\u2019t run.<\/li>\n<li>Animation-timing-function: Specifies the speed of an animation.<\/li>\n<li>Animation-delay: Specifies the time delay before the animation activates. The values can also be negative.<\/li>\n<li>Animation-iteration-count: Specifies the number of times the animation is to be repeated.<\/li>\n<li>Animation-direction: Specifies the direction in which the animation runs.<\/li>\n<li>Animation-fill-mode: Specifies what values are applied by the animation outside the time it is executing.<\/li>\n<li>Animation-play-state: Specifies whether the animation is playing or not.<\/li>\n<\/ul>\n<\/li>\n<li><strong>-transition- CSS property<\/strong><br \/>The CSS transition property allows you to change property values of the elements smoothly, over a given duration. It is a shorthand property for 4 of the transition properties:\n<p>\u00a0<\/p>\n<ul>\n<li>transition-delay: Specifies the time delay before the transition activates.<\/li>\n<li>transition-duration: Specifies the time duration taken for the transition to occur.<\/li>\n<li>transition-property: Specifies which property of the element will be edited. Values could be the width, height, transparency, etc.<\/li>\n<li>transition-timing-function: Specifies the speed curve of the transition effect.<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<p><strong>Important Note:<\/strong> While including any of the CSS properties, it is important to add suffixes for bug-free rendering.<\/p>\n<p>Most commonly used suffixes are:<\/p>\n<ul>\n<li>-webkit-animation: for rendering in Safari-based email clients<\/li>\n<li>-moz-animation: for rendering in Mozilla-based email clients<\/li>\n<li>-ms-animation: for rendering in IE10-based email clients<\/li>\n<\/ul>\n<h2>Sample Email Code<\/h2>\n<p>During Christmas, we at Email Uplers, sent our customers a season\u2019s greetings email in which we used CSS animation property to replicate a Christmas scenario. In this CSS animation email, there were two elements that were animated.<\/p>\n<ol>\n<li>A GIF of Santa walking\u00a0<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-9963 size-full\" src=\"https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2018\/02\/Santa.gif\" alt=\"\" width=\"150\" height=\"85\" \/><\/li>\n<li>Layers of snow<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-9957 size-full\" src=\"https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2018\/02\/Snow.gif\" alt=\"\" width=\"100\" height=\"203\" \/><\/li>\n<\/ol>\n<p>The CSS code for both are:<\/p>\n<p>Code specifying the keyframe animations for Santa<\/p>\n<div class=\"dm-code-snippet dark default  dm-normal-version\" style=\"background-color:#abb8c3;\" snippet-height=\"\">\n\t\t\t<div class=\"control-language\">\n                <div class=\"dm-buttons\">\n                    <div class=\"dm-buttons-left\">\n                        <div class=\"dm-button-snippet red-button\"><\/div>\n                        <div class=\"dm-button-snippet orange-button\"><\/div>\n                        <div class=\"dm-button-snippet green-button\"><\/div>\n                    <\/div>\n                    <div class=\"dm-buttons-right\">\n                        <a id=\"dm-copy-raw-code\">\n                        <span class=\"dm-copy-text\">Copy Code<\/span>\n                        <span class=\"dm-copy-confirmed\" style=\"display:none\">Copied<\/span>\n                        <span class=\"dm-error-message\" style=\"display:none\">Use a different Browser<\/span><\/a>\n                    <\/div>\n                <\/div>\n                <pre class=\"line-numbers\"><code id=\"dm-code-raw\" class=\"no-wrap language-markup\"><\/p>\n<pre class=\"dm-pre-admin-side\">@keyframes mymove {\n0% {\nleft: 0%;\nopacity:0;\n} 10% {\nleft: 10%;\nopacity:1;\n}\n80% {\nleft: 80%;\nopacity:1;\n}\n85% {\nleft: 85%;\nopacity:0;\n}\n100% {\nopacity:0;\n}\n}<\/pre>\n<p><\/code><\/pre>\n\t\t\t<\/div>\n        <\/div>\n<p>HTML animation codes specifying the animation properties<\/p>\n<div class=\"dm-code-snippet dark no-background no-background-mobile dm-normal-version\" style=\"background-color:#abb8c3;\" snippet-height=\"\">\n\t\t\t<div class=\"control-language\">\n                <div class=\"dm-buttons\">\n                    <div class=\"dm-buttons-left\">\n                        <div class=\"dm-button-snippet red-button\"><\/div>\n                        <div class=\"dm-button-snippet orange-button\"><\/div>\n                        <div class=\"dm-button-snippet green-button\"><\/div>\n                    <\/div>\n                    <div class=\"dm-buttons-right\">\n                        <a id=\"dm-copy-raw-code\">\n                        <span class=\"dm-copy-text\">Copy Code<\/span>\n                        <span class=\"dm-copy-confirmed\" style=\"display:none\">Copied<\/span>\n                        <span class=\"dm-error-message\" style=\"display:none\">Use a different Browser<\/span><\/a>\n                    <\/div>\n                <\/div>\n                <pre class=\"line-numbers\"><code id=\"dm-code-raw\" class=\"no-wrap language-markup\"><\/p>\n<pre class=\"dm-pre-admin-side\">.em_santa { \n      background-image: url(http:\/\/edmimages.net\/edm\/2017\/December\/Christmas_Inhouse1\/santa2.gif);\n      background-position: center; \n      background-repeat: no-repeat;\n      background-size: cover; \n      height: 85px;\n      width: 150px;\n      overflow: visible;\n      position: relative; \n     -webkit-animation: mymove 30s infinite; \/* Safari 4.0 - 8.0 *\/ \n     animation: mymove 30s infinite; \n     -webkit-animation-direction: alternate; \/* Safari 4.0 - 8.0 *\/ \n      animation-direction: normal; \n      z-index: 1;\n      top: -265px;\n }<\/pre>\n<p><\/code><\/pre>\n\t\t\t<\/div>\n        <\/div>\n<p>HTML animation codes for specifying the timing function<\/p>\n<div class=\"dm-code-snippet dark no-background no-background-mobile dm-normal-version\" style=\"background-color:#abb8c3;\" snippet-height=\"\">\n\t\t\t<div class=\"control-language\">\n                <div class=\"dm-buttons\">\n                    <div class=\"dm-buttons-left\">\n                        <div class=\"dm-button-snippet red-button\"><\/div>\n                        <div class=\"dm-button-snippet orange-button\"><\/div>\n                        <div class=\"dm-button-snippet green-button\"><\/div>\n                    <\/div>\n                    <div class=\"dm-buttons-right\">\n                        <a id=\"dm-copy-raw-code\">\n                        <span class=\"dm-copy-text\">Copy Code<\/span>\n                        <span class=\"dm-copy-confirmed\" style=\"display:none\">Copied<\/span>\n                        <span class=\"dm-error-message\" style=\"display:none\">Use a different Browser<\/span><\/a>\n                    <\/div>\n                <\/div>\n                <pre class=\"line-numbers\"><code id=\"dm-code-raw\" class=\"no-wrap language-markup\"><\/p>\n<pre class=\"dm-pre-admin-side\">#div1 {  \n      -webkit-animation-timing-function: linear;\n      z-index: 0;\n}<\/pre>\n<p><\/code><\/pre>\n\t\t\t<\/div>\n        <\/div>\n<pre class=\"lang:default decode:true\" title=\"Code for specifying the timing function\">\u00a0<\/pre>\n<p>Code specifying the keyframe animations for Snow<\/p>\n<div class=\"dm-code-snippet dark no-background no-background-mobile dm-normal-version\" style=\"background-color:#abb8c3;\" snippet-height=\"\">\n\t\t\t<div class=\"control-language\">\n                <div class=\"dm-buttons\">\n                    <div class=\"dm-buttons-left\">\n                        <div class=\"dm-button-snippet red-button\"><\/div>\n                        <div class=\"dm-button-snippet orange-button\"><\/div>\n                        <div class=\"dm-button-snippet green-button\"><\/div>\n                    <\/div>\n                    <div class=\"dm-buttons-right\">\n                        <a id=\"dm-copy-raw-code\">\n                        <span class=\"dm-copy-text\">Copy Code<\/span>\n                        <span class=\"dm-copy-confirmed\" style=\"display:none\">Copied<\/span>\n                        <span class=\"dm-error-message\" style=\"display:none\">Use a different Browser<\/span><\/a>\n                    <\/div>\n                <\/div>\n                <pre class=\"line-numbers\"><code id=\"dm-code-raw\" class=\"no-wrap language-markup\"><\/p>\n<pre class=\"dm-pre-admin-side\">@keyframes snow {\n    0% {\n         background-position: 0px 0px, 0px 0px, 0px 0px;\n   } 100% {\n         background-position: 500px 1000px, 200px 400px, -100px 300px; \n      } \n}<\/pre>\n<p><\/code><\/pre>\n\t\t\t<\/div>\n        <\/div>\n<pre class=\"lang:default decode:true\" title=\"Code specifying the keyframe animations for Snow\">\u00a0<\/pre>\n<p>Code specifying the animation properties<\/p>\n<div class=\"dm-code-snippet dark no-background no-background-mobile dm-normal-version\" style=\"background-color:#abb8c3;\" snippet-height=\"\">\n\t\t\t<div class=\"control-language\">\n                <div class=\"dm-buttons\">\n                    <div class=\"dm-buttons-left\">\n                        <div class=\"dm-button-snippet red-button\"><\/div>\n                        <div class=\"dm-button-snippet orange-button\"><\/div>\n                        <div class=\"dm-button-snippet green-button\"><\/div>\n                    <\/div>\n                    <div class=\"dm-buttons-right\">\n                        <a id=\"dm-copy-raw-code\">\n                        <span class=\"dm-copy-text\">Copy Code<\/span>\n                        <span class=\"dm-copy-confirmed\" style=\"display:none\">Copied<\/span>\n                        <span class=\"dm-error-message\" style=\"display:none\">Use a different Browser<\/span><\/a>\n                    <\/div>\n                <\/div>\n                <pre class=\"line-numbers\"><code id=\"dm-code-raw\" class=\"no-wrap language-markup\"><\/p>\n<pre class=\"dm-pre-admin-side\">snow { \n\tbackground: none;\n\tfont-family: Androgyne;\n\tbackground-image: url('http:\/\/edmimages.net\/edm\/\/2017\/December\/Christmas_Inhouse1\/s1.png'),\n\turl('http:\/\/edmimages.net\/edm\/\/2017\/December\/Christmas_Inhouse1\/s2.png'), url('http:\/\/edmimages.net\/edm\/\/2017\/December\/Christmas_Inhouse1\/s3.png'); \n\theight: 100%;\n\tleft: 0; \n\tposition: absolute;\n\ttop: 0; \n\twidth: 100%; \n\tz-index: -1; \n\t-webkit-animation: snow 10s linear infinite; \n\t-moz-animation: snow 10s linear infinite; \n\t-ms-animation: snow 10s linear infinite; \n\tanimation: snow 10s linear infinite; \n}<\/pre>\n<p><\/code><\/pre>\n\t\t\t<\/div>\n        <\/div>\n<pre class=\"lang:default decode:true \" title=\"Code specifying the animation properties\">\u00a0<\/pre>\n<p>So, based on the CSS applied, the following visual sorcery was possible.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-9955 size-full\" src=\"https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2018\/02\/Email.gif\" alt=\"css-animation-emails-christmas\" width=\"300\" height=\"139\" \/><\/p>\n<h2>Email Client Compatibility for CSS Animation Templates<\/h2>\n<p>With constant updates and community feedbacks, more and more email clients are supporting CSS animation templates, although the support is currently selective. There are email clients that support -animation property but have poor support for -transition property.<\/p>\n<table>\n<tbody>\n<tr>\n<td style=\"text-align: center;\" width=\"308\"><strong>-animation property<\/strong><\/td>\n<td style=\"text-align: center;\" width=\"308\"><strong>-transition property<\/strong><\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\" width=\"308\">Apple Mail 10<br \/>Outlook for Mac<br \/>Thunderbird<br \/>Android 4.4.4 Mail<br \/>AOL Alto (Android &amp; iOS)<br \/>BlackBerry Mail<br \/>iOS mail<br \/>Outlook Android app<br \/>AOL Mail<\/td>\n<td style=\"text-align: center;\" width=\"308\">Apple Mail 10<br \/>Outlook for Mac<br \/>Thunderbird<br \/>Android 4.4.4 Mail<br \/>AOL Alto (Android only)<br \/>BlackBerry Mail<br \/>iOS mail<br \/>Outlook Android app<br \/>AOL Mail<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2><a href=\"https:\/\/email.uplers.com\/email-design-template-audit\/?utm_source=blog&amp;utm_medium=CTA&amp;utm_campaign=css-animation-email\" target=\"_blank\" rel=\"noopener noreferrer\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-17147\" src=\"https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2019\/09\/email-audit.jpg\" alt=\"\" width=\"800\" height=\"200\" srcset=\"https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2019\/09\/email-audit.jpg 800w, https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2019\/09\/email-audit-300x75.jpg 300w, https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2019\/09\/email-audit-768x192.jpg 768w, https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2019\/09\/email-audit-624x156.jpg 624w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/a><\/h2>\n<h2>Advantages of CSS animation in emails<\/h2>\n<ul>\n<li>It is light-weight and fast to load.<\/li>\n<li>Animations run smoother compared to other HTML animation examples with GIFs.<\/li>\n<li>The element can be scaled. This means there will be no concerns about pixelation in retina displays.<\/li>\n<\/ul>\n<h2>Some Awe-inspiring HTML animation examples<\/h2>\n<ol>\n<li>\n<h3>OMG<\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-9961 size-full\" src=\"https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2018\/02\/OMG-css-animation-emails-christmas.jpeg\" alt=\"OMG-css-animation-emails-christmas\" width=\"651\" height=\"897\" \/><\/p>\n<p>A CSS class called \u2018wobble\u2019 has been created and associated with the CTA button, making the button wobble on email open.<\/p>\n<\/li>\n<li>\n<h3>1973<\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-9960 size-large\" src=\"https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2018\/02\/1973-css-animation-emails-christmas-1024x480.jpeg\" alt=\"1973-css-animation-emails-christmas\" width=\"625\" height=\"293\" \/><\/p>\n<p>In this email, the Santa is GIF which is nested in a table which inherits the CSS animation for the snow<\/p>\n<\/li>\n<li>\n<h3>Rail Nation<\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-9959 size-full\" src=\"https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2018\/02\/Rail-Nation-css-animation-emails-christmas.jpg\" alt=\"Rail-Nation-css-animation-emails-christmas\" width=\"952\" height=\"900\" \/><\/p>\n<p>The firework animation in this email goes well with the message conveyed by the email and doesn&#8217;t draw much attention<\/p>\n<\/li>\n<li>\n<h3>Prezi<\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-9956 size-large\" title=\"Prezi-css-animation-emails-christmas\" src=\"https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2018\/02\/Prezi-1024x480.jpeg\" alt=\"Prezi-css-animation-emails-christmas\" width=\"625\" height=\"293\" \/><\/p>\n<p>Similar to the 1973 email, here also the animation of the snow falling is emulated using CSS animation.<\/p>\n<\/li>\n<\/ol>\n<h2>Advantages and Limitations<\/h2>\n<p>CSS-based animation for emails is the future of <a href=\"https:\/\/email.uplers.com\/blog\/complete-guide-to-create-your-first-email-template\/\">email design<\/a>. Even though it is overlooked (or avoided) currently by<a href=\"https:\/\/email.uplers.com\/hire-dedicated-email-developer\/\"> email developers<\/a>, CSS animation can be a unique way to delight your subscribers and further enhance their email viewing experiences.<\/p>\n<p>But beware! CSS HTML animation for emails is a double-edged sword. Before you jump head-on to include a CSS animation in your email, take these <strong>two points<\/strong> into consideration.<\/p>\n<ul>\n<li>CSS animation for emails take a lot of development time owing to constant testing and rectifications.<\/li>\n<li>CSS animations should be included only after detailed planning. Animating an element just for the sake of animating may not solve the purpose of your campaign.<\/li>\n<\/ul>\n<p>If you have questions on CSS HTML Animation in Emails or how to implement it in your next email campaign get in touch with us now.<\/p>","protected":false},"excerpt":{"rendered":"<p>Want to add CSS animations in emails? Take a look at the coding insights from our experts<\/p>\n","protected":false},"author":1,"featured_media":9953,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[381],"tags":[],"class_list":["post-9951","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-email-design"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Email Design Trends: Adding CSS HTML Animation in Email<\/title>\n<meta name=\"description\" content=\"How to add CSS HTML Animation in Email? If you have questions on CSS HTML Email Animation in your next email campaign get in touch with us now.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/email.uplers.com\/blog\/css-animation-email\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Email Design Trends: Adding CSS HTML Animation in Email\" \/>\n<meta property=\"og:description\" content=\"How to add CSS HTML Animation in Email? If you have questions on CSS HTML Email Animation in your next email campaign get in touch with us now.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/email.uplers.com\/blog\/css-animation-email\/\" \/>\n<meta property=\"og:site_name\" content=\"Email Uplers\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/email.uplers\/\" \/>\n<meta property=\"article:published_time\" content=\"2022-06-08T13:55:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-05-23T11:48:07+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2018\/02\/css-animation-email.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"540\" \/>\n\t<meta property=\"og:image:height\" content=\"197\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Kevin George\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@email_uplers\" \/>\n<meta name=\"twitter:site\" content=\"@email_uplers\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Kevin George\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"9 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/email.uplers.com\/blog\/css-animation-email\/\",\"url\":\"https:\/\/email.uplers.com\/blog\/css-animation-email\/\",\"name\":\"Email Design Trends: Adding CSS HTML Animation in Email\",\"isPartOf\":{\"@id\":\"https:\/\/email.uplers.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/email.uplers.com\/blog\/css-animation-email\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/email.uplers.com\/blog\/css-animation-email\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2018\/02\/css-animation-email.jpg\",\"author\":{\"@id\":\"https:\/\/email.uplers.com\/blog\/#\/schema\/person\/7ffa431167e8be5eb07b050cd5c663fa\"},\"description\":\"How to add CSS HTML Animation in Email? If you have questions on CSS HTML Email Animation in your next email campaign get in touch with us now.\",\"breadcrumb\":{\"@id\":\"https:\/\/email.uplers.com\/blog\/css-animation-email\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/email.uplers.com\/blog\/css-animation-email\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/email.uplers.com\/blog\/css-animation-email\/#primaryimage\",\"url\":\"https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2018\/02\/css-animation-email.jpg\",\"contentUrl\":\"https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2018\/02\/css-animation-email.jpg\",\"width\":\"1170\",\"height\":\"427\",\"caption\":\"css-animation-email\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/email.uplers.com\/blog\/css-animation-email\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/email.uplers.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Email Design Trends: Adding CSS Animation in Email\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/email.uplers.com\/blog\/#website\",\"url\":\"https:\/\/email.uplers.com\/blog\/\",\"name\":\"Email Uplers\",\"description\":\"Email Marketing Blog\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/email.uplers.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/email.uplers.com\/blog\/#\/schema\/person\/7ffa431167e8be5eb07b050cd5c663fa\",\"name\":\"Kevin George\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/email.uplers.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2019\/03\/Img-96x96.png\",\"contentUrl\":\"https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2019\/03\/Img-96x96.png\",\"caption\":\"Kevin George\"},\"description\":\"Kevin is the Head of Marketing at Email Uplers, one of the fastest-growing full-service email marketing companies. He is an email enthusiast at heart and loves to pen down email marketing content. You can reach him at kevin.g@uplers.com or connect with him on LinkedIn.\",\"sameAs\":[\"https:\/\/www.linkedin.com\/in\/kevin-george-email\/\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Email Design Trends: Adding CSS HTML Animation in Email","description":"How to add CSS HTML Animation in Email? If you have questions on CSS HTML Email Animation in your next email campaign get in touch with us now.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/email.uplers.com\/blog\/css-animation-email\/","og_locale":"en_US","og_type":"article","og_title":"Email Design Trends: Adding CSS HTML Animation in Email","og_description":"How to add CSS HTML Animation in Email? If you have questions on CSS HTML Email Animation in your next email campaign get in touch with us now.","og_url":"https:\/\/email.uplers.com\/blog\/css-animation-email\/","og_site_name":"Email Uplers","article_publisher":"https:\/\/www.facebook.com\/email.uplers\/","article_published_time":"2022-06-08T13:55:00+00:00","article_modified_time":"2024-05-23T11:48:07+00:00","og_image":[{"url":"https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2018\/02\/css-animation-email.jpg","width":540,"height":197,"type":"image\/jpeg"}],"author":"Kevin George","twitter_card":"summary_large_image","twitter_creator":"@email_uplers","twitter_site":"@email_uplers","twitter_misc":{"Written by":"Kevin George","Est. reading time":"9 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/email.uplers.com\/blog\/css-animation-email\/","url":"https:\/\/email.uplers.com\/blog\/css-animation-email\/","name":"Email Design Trends: Adding CSS HTML Animation in Email","isPartOf":{"@id":"https:\/\/email.uplers.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/email.uplers.com\/blog\/css-animation-email\/#primaryimage"},"image":{"@id":"https:\/\/email.uplers.com\/blog\/css-animation-email\/#primaryimage"},"thumbnailUrl":"https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2018\/02\/css-animation-email.jpg","author":{"@id":"https:\/\/email.uplers.com\/blog\/#\/schema\/person\/7ffa431167e8be5eb07b050cd5c663fa"},"description":"How to add CSS HTML Animation in Email? If you have questions on CSS HTML Email Animation in your next email campaign get in touch with us now.","breadcrumb":{"@id":"https:\/\/email.uplers.com\/blog\/css-animation-email\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/email.uplers.com\/blog\/css-animation-email\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/email.uplers.com\/blog\/css-animation-email\/#primaryimage","url":"https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2018\/02\/css-animation-email.jpg","contentUrl":"https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2018\/02\/css-animation-email.jpg","width":"1170","height":"427","caption":"css-animation-email"},{"@type":"BreadcrumbList","@id":"https:\/\/email.uplers.com\/blog\/css-animation-email\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/email.uplers.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Email Design Trends: Adding CSS Animation in Email"}]},{"@type":"WebSite","@id":"https:\/\/email.uplers.com\/blog\/#website","url":"https:\/\/email.uplers.com\/blog\/","name":"Email Uplers","description":"Email Marketing Blog","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/email.uplers.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/email.uplers.com\/blog\/#\/schema\/person\/7ffa431167e8be5eb07b050cd5c663fa","name":"Kevin George","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/email.uplers.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2019\/03\/Img-96x96.png","contentUrl":"https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2019\/03\/Img-96x96.png","caption":"Kevin George"},"description":"Kevin is the Head of Marketing at Email Uplers, one of the fastest-growing full-service email marketing companies. He is an email enthusiast at heart and loves to pen down email marketing content. You can reach him at kevin.g@uplers.com or connect with him on LinkedIn.","sameAs":["https:\/\/www.linkedin.com\/in\/kevin-george-email\/"]}]}},"amp_enabled":false,"_links":{"self":[{"href":"https:\/\/email.uplers.com\/blog\/wp-json\/wp\/v2\/posts\/9951","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/email.uplers.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/email.uplers.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/email.uplers.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/email.uplers.com\/blog\/wp-json\/wp\/v2\/comments?post=9951"}],"version-history":[{"count":62,"href":"https:\/\/email.uplers.com\/blog\/wp-json\/wp\/v2\/posts\/9951\/revisions"}],"predecessor-version":[{"id":39714,"href":"https:\/\/email.uplers.com\/blog\/wp-json\/wp\/v2\/posts\/9951\/revisions\/39714"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/email.uplers.com\/blog\/wp-json\/wp\/v2\/media\/9953"}],"wp:attachment":[{"href":"https:\/\/email.uplers.com\/blog\/wp-json\/wp\/v2\/media?parent=9951"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/email.uplers.com\/blog\/wp-json\/wp\/v2\/categories?post=9951"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/email.uplers.com\/blog\/wp-json\/wp\/v2\/tags?post=9951"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}