{"id":10280,"date":"2024-01-18T18:18:00","date_gmt":"2024-01-18T18:18:00","guid":{"rendered":"https:\/\/codehim.com\/?p=10280"},"modified":"2024-01-22T16:19:08","modified_gmt":"2024-01-22T11:19:08","slug":"content-placeholder-animation-using-css","status":"publish","type":"post","link":"https:\/\/codehim.com\/html5-css3\/content-placeholder-animation-using-css\/","title":{"rendered":"Content Placeholder Animation Using CSS"},"content":{"rendered":"<p>The code creates an animated content placeholder using CSS. It generates loading-like visuals for content.<\/p>\n<p>The key function animates content placeholders using linear gradients. It helps simulate content loading or placeholders.<\/p>\n<p>The CSS animation &#8216;content-placeholder-animation&#8217; moves placeholders horizontally. It&#8217;s useful for indicating content loading progress.<\/p>\n<p>You can use this code on websites or apps while loading content. It&#8217;s handy for displaying placeholder animations, indicating ongoing content loading. One benefit is it enhances user experience by visually signaling content progress.<\/p>\n<h2>How to Create Content Placeholder Animation Using CSS<\/h2>\n<p>1. First of all, load the <a href=\"https:\/\/necolas.github.io\/normalize.css\/\" target=\"_blank\" rel=\"noopener\">Normalize CSS<\/a> by adding the following CDN link into the head tag of your HTML document.<\/p>\n<pre class=\"prettyprint linenums lang-html\">&lt;link rel=\"stylesheet\" href=\"https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/normalize\/5.0.0\/normalize.min.css\"&gt;<\/pre>\n<p>2. Create the HTML structure where you want the content placeholder to appear. Use <code>&lt;div&gt;<\/code> elements and classes to structure the content. Insert the HTML structure into your web page or app where you want the content placeholder to display. Test the animation to ensure it works correctly.<\/p>\n<pre class=\"prettyprint linenums lang-html\">&lt;div class=\"container\"&gt;\r\n  &lt;h2&gt;Content Placeholder&lt;\/h3&gt;\r\n  &lt;ul class=\"tl tl--content-placeholder\"&gt;\r\n    &lt;li class=\"\"&gt;\r\n      &lt;div class=\"tl-badge\"&gt;&lt;i class=\"fa fa-circle\"&gt;&lt;\/i&gt;&lt;\/div&gt;\r\n      &lt;div class=\"tl-date\"&gt;\r\n                &lt;span class=\"content-placeholder-background\"&gt;&lt;\/span&gt;\r\n      &lt;\/div&gt;\r\n      &lt;div class=\"tl-panel\"&gt;\r\n        &lt;div class=\"content-placeholder-text\"&gt;\r\n                &lt;span class=\"content-placeholder-background\"&gt;&lt;\/span&gt;\r\n\r\n&lt;\/div&gt;\r\n        &lt;div class=\"content-placeholder-text\"&gt;\r\n                &lt;span class=\"content-placeholder-background\"&gt;&lt;\/span&gt;\r\n\r\n&lt;\/div&gt;\r\n      &lt;\/div&gt;\r\n    &lt;\/li&gt;\r\n  &lt;\/div&gt;\r\n&lt;\/div&gt;\r\n&lt;div class=\"container\"&gt;\r\n  &lt;ul class=\"tl\"&gt;\r\n    &lt;li class=\"\"&gt;\r\n      &lt;div class=\"tl-badge\"&gt;&lt;i class=\"fa fa-circle\"&gt;&lt;\/i&gt;&lt;\/div&gt;\r\n      &lt;div class=\"tl-date\"&gt;2017-05-03&lt;\/div&gt;\r\n      &lt;div class=\"tl-panel\"&gt;\r\n        &lt;div class=\"tl-heading\"&gt;\r\n        &lt;h4 class=\"tl-title\"&gt;\r\n          Updated By John Doe\r\n        &lt;\/h4&gt;\r\n        &lt;i&gt;\r\n          Changed Status to In Progress\r\n        &lt;\/i&gt;\r\n      &lt;\/div&gt;\r\n      &lt;\/div&gt;\r\n    &lt;\/li&gt;\r\n  &lt;\/div&gt;\r\n&lt;\/div&gt;<\/pre>\n<p>3. Apply CSS styles to create the placeholder animation and structure. Adjust CSS properties like colors, sizes, and positioning to match your design preferences.<\/p>\n<pre class=\"prettyprint linenums lang-css\">html {\r\n  font-size: 12px;\r\n}\r\n\r\nbody {\r\n  background-color: #fefefe;\r\n}\r\n\r\n* {\r\n  box-sizing: border-box;\r\n}\r\n\r\nh1 {\r\n  margin-bottom: 0.5rem;\r\n}\r\n\r\nh2 {\r\n  margin-bottom: 0.5rem;\r\n}\r\n\r\nh3 {\r\n  margin-bottom: 0.5rem;\r\n}\r\n\r\nh4 {\r\n  margin-bottom: 0.5rem;\r\n}\r\n\r\nh5 {\r\n  margin-bottom: 0.5rem;\r\n}\r\n\r\nh6 {\r\n  margin-bottom: 0.5rem;\r\n}\r\n\r\n@keyframes content-placeholder-animation {\r\n  0% {\r\n    transform: translateX(-50%);\r\n  }\r\n  100% {\r\n    transform: translateX(300%);\r\n  }\r\n}\r\n.container {\r\n  margin: 0 auto;\r\n  max-width: 600px;\r\n  padding: 1rem;\r\n}\r\n\r\n.content-placeholder-background {\r\n  animation: content-placeholder-animation 1s linear infinite;\r\n  background: -moz-linear-gradient(left, rgba(15, 15, 15, 0) 0%, rgba(219, 219, 219, 0.4) 50%, rgba(255, 255, 255, 0) 100%);\r\n  background: -webkit-linear-gradient(left, rgba(15, 15, 15, 0) 0%, rgba(219, 219, 219, 0.4) 50%, rgba(255, 255, 255, 0) 100%);\r\n  background: linear-gradient(to right, rgba(15, 15, 15, 0) 0%, rgba(219, 219, 219, 0.4) 50%, rgba(255, 255, 255, 0) 100%);\r\n  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr=\"#000f0f0f\", endColorstr=\"#00ffffff\",GradientType=1 );\r\n  display: block;\r\n  height: inherit;\r\n  left: 0;\r\n  position: absolute;\r\n  top: 0;\r\n  width: 70%;\r\n  will-change: transform;\r\n}\r\n\r\n.content-placeholder-text {\r\n  background-color: #ebebeb;\r\n  display: block;\r\n  height: 1em;\r\n  margin-bottom: 1em;\r\n  overflow: hidden;\r\n  position: relative;\r\n  width: 90%;\r\n}\r\n.content-placeholder-text:last-of-type {\r\n  width: 60%;\r\n}\r\n\r\n.tl {\r\n  color: #5b5b5b;\r\n  font-weight: 400;\r\n  list-style: none;\r\n  padding: 20px 0;\r\n  position: relative;\r\n}\r\n.tl--content-placeholder .tl-panel {\r\n  height: 85px;\r\n}\r\n.tl--content-placeholder .tl-date {\r\n  background-color: #f6f6f6;\r\n  height: 15px;\r\n  overflow: hidden;\r\n  width: 80px;\r\n}\r\n\r\n.tl:before {\r\n  background-color: #ecedef;\r\n  bottom: 0;\r\n  content: \" \";\r\n  margin-left: -1.5px;\r\n  position: absolute;\r\n  right: 137px;\r\n  top: 20px;\r\n  width: 8px;\r\n}\r\n\r\n.tl &gt; li {\r\n  margin-bottom: 20px;\r\n  position: relative;\r\n}\r\n\r\n.tl &gt; li:before,\r\n.tl &gt; li:after {\r\n  content: \" \";\r\n  display: table;\r\n}\r\n\r\n.tl &gt; li:after {\r\n  clear: both;\r\n}\r\n\r\n.tl-panel {\r\n  background-color: #f6f6f6;\r\n  border: 1px solid #edf0f2;\r\n  border-radius: 4px;\r\n  float: left;\r\n  padding: 20px;\r\n  position: relative;\r\n  width: calc(100% - 175px);\r\n}\r\n\r\n.tl-panel:before {\r\n  border-bottom: 15px solid transparent;\r\n  border-left: 15px solid #edf0f2;\r\n  border-right: 0 solid #edf0f2;\r\n  border-top: 15px solid transparent;\r\n  content: \" \";\r\n  display: inline-block;\r\n  position: absolute;\r\n  right: -15px;\r\n  top: 26px;\r\n}\r\n\r\n.tl-panel:after {\r\n  border-bottom: 14px solid transparent;\r\n  border-left: 14px solid #F6F6F6;\r\n  border-right: 0 solid #F6F6F6;\r\n  border-top: 14px solid transparent;\r\n  content: \" \";\r\n  display: inline-block;\r\n  position: absolute;\r\n  right: -14px;\r\n  top: 27px;\r\n}\r\n\r\n.tl-badge {\r\n  background-color: #03a9f4;\r\n  border: 4px solid #fcfcfc;\r\n  border-bottom-left-radius: 50%;\r\n  border-bottom-right-radius: 50%;\r\n  border-top-left-radius: 50%;\r\n  border-top-right-radius: 50%;\r\n  color: #fff;\r\n  font-size: 0.5em;\r\n  line-height: 50px;\r\n  margin-left: -25px;\r\n  padding: 7px;\r\n  position: absolute;\r\n  right: 130px;\r\n  text-align: center;\r\n  top: 31px;\r\n  z-index: 1;\r\n}\r\n.tl-badge &gt; i {\r\n  position: absolute;\r\n  right: 4px;\r\n  line-height: 0;\r\n}\r\n\r\n.tl-title {\r\n  margin-top: 0;\r\n  color: #5b5b5b;\r\n  font-weight: 600;\r\n}\r\n\r\n.tl-date {\r\n  color: #5b5b5b;\r\n  font-weight: 700;\r\n  position: absolute;\r\n  right: 38px;\r\n  text-align: left;\r\n  top: 32px;\r\n}<\/pre>\n<p>That&#8217;s all! hopefully, you have successfully created Content Placeholder Animation Using CSS. If you have any questions or suggestions, feel free to comment below.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The code creates an animated content placeholder using CSS. It generates loading-like visuals for content. The key function animates content&#8230;<\/p>\n","protected":false},"author":1,"featured_media":10299,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[63],"tags":[],"class_list":["post-10280","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-html5-css3"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Content Placeholder Animation Using CSS &#8212; CodeHim<\/title>\n<meta name=\"description\" content=\"Here is a free code snippet to create a Content Placeholder Animation Using CSS. You can view demo and download the source code.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/codehim.com\/html5-css3\/content-placeholder-animation-using-css\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Content Placeholder Animation Using CSS &#8212; CodeHim\" \/>\n<meta property=\"og:description\" content=\"Here is a free code snippet to create a Content Placeholder Animation Using CSS. You can view demo and download the source code.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/codehim.com\/html5-css3\/content-placeholder-animation-using-css\/\" \/>\n<meta property=\"og:site_name\" content=\"CodeHim\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/codehimofficial\" \/>\n<meta property=\"article:published_time\" content=\"2024-01-18T18:18:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-01-22T11:19:08+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/codehim.com\/wp-content\/uploads\/2023\/12\/Content-Placeholder-Animation-Using-CSS-1.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1280\" \/>\n\t<meta property=\"og:image:height\" content=\"980\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Asif Mughal\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@CodeHimOfficial\" \/>\n<meta name=\"twitter:site\" content=\"@CodeHimOfficial\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Asif Mughal\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/codehim.com\/html5-css3\/content-placeholder-animation-using-css\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/codehim.com\/html5-css3\/content-placeholder-animation-using-css\/\"},\"author\":{\"name\":\"Asif Mughal\",\"@id\":\"https:\/\/codehim.com\/#\/schema\/person\/cc48f1dbe072a89a62a98171b7db43ed\"},\"headline\":\"Content Placeholder Animation Using CSS\",\"datePublished\":\"2024-01-18T18:18:00+00:00\",\"dateModified\":\"2024-01-22T11:19:08+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/codehim.com\/html5-css3\/content-placeholder-animation-using-css\/\"},\"wordCount\":209,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/codehim.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/codehim.com\/html5-css3\/content-placeholder-animation-using-css\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/codehim.com\/wp-content\/uploads\/2023\/12\/Content-Placeholder-Animation-Using-CSS-1.png\",\"articleSection\":[\"HTML5 &amp; CSS3\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/codehim.com\/html5-css3\/content-placeholder-animation-using-css\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/codehim.com\/html5-css3\/content-placeholder-animation-using-css\/\",\"url\":\"https:\/\/codehim.com\/html5-css3\/content-placeholder-animation-using-css\/\",\"name\":\"Content Placeholder Animation Using CSS &#8212; CodeHim\",\"isPartOf\":{\"@id\":\"https:\/\/codehim.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/codehim.com\/html5-css3\/content-placeholder-animation-using-css\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/codehim.com\/html5-css3\/content-placeholder-animation-using-css\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/codehim.com\/wp-content\/uploads\/2023\/12\/Content-Placeholder-Animation-Using-CSS-1.png\",\"datePublished\":\"2024-01-18T18:18:00+00:00\",\"dateModified\":\"2024-01-22T11:19:08+00:00\",\"description\":\"Here is a free code snippet to create a Content Placeholder Animation Using CSS. You can view demo and download the source code.\",\"breadcrumb\":{\"@id\":\"https:\/\/codehim.com\/html5-css3\/content-placeholder-animation-using-css\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/codehim.com\/html5-css3\/content-placeholder-animation-using-css\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/codehim.com\/html5-css3\/content-placeholder-animation-using-css\/#primaryimage\",\"url\":\"https:\/\/codehim.com\/wp-content\/uploads\/2023\/12\/Content-Placeholder-Animation-Using-CSS-1.png\",\"contentUrl\":\"https:\/\/codehim.com\/wp-content\/uploads\/2023\/12\/Content-Placeholder-Animation-Using-CSS-1.png\",\"width\":1280,\"height\":980,\"caption\":\"Content Placeholder Animation Using CSS\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/codehim.com\/html5-css3\/content-placeholder-animation-using-css\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/codehim.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"HTML5 &amp; CSS3\",\"item\":\"https:\/\/codehim.com\/category\/html5-css3\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Content Placeholder Animation Using CSS\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/codehim.com\/#website\",\"url\":\"https:\/\/codehim.com\/\",\"name\":\"CodeHim\",\"description\":\"Web Design Code Snippets\",\"publisher\":{\"@id\":\"https:\/\/codehim.com\/#organization\"},\"alternateName\":\"Web Design Codes\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/codehim.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/codehim.com\/#organization\",\"name\":\"CodeHim - Web Design Code & Scripts\",\"url\":\"https:\/\/codehim.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/codehim.com\/#\/schema\/logo\/image\/\",\"url\":\"http:\/\/codehim.com\/wp-content\/uploads\/2023\/06\/Codehim-short-logo.jpg\",\"contentUrl\":\"http:\/\/codehim.com\/wp-content\/uploads\/2023\/06\/Codehim-short-logo.jpg\",\"width\":280,\"height\":280,\"caption\":\"CodeHim - Web Design Code & Scripts\"},\"image\":{\"@id\":\"https:\/\/codehim.com\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/codehimofficial\",\"https:\/\/x.com\/CodeHimOfficial\",\"https:\/\/www.instagram.com\/codehim\/\",\"https:\/\/www.linkedin.com\/company\/codehim\",\"https:\/\/co.pinterest.com\/codehim\/\",\"https:\/\/www.youtube.com\/@codehim\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/codehim.com\/#\/schema\/person\/cc48f1dbe072a89a62a98171b7db43ed\",\"name\":\"Asif Mughal\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/codehim.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/b25bfcd7d4e341c2c6f785a88d8ad2a4?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/b25bfcd7d4e341c2c6f785a88d8ad2a4?s=96&d=mm&r=g\",\"caption\":\"Asif Mughal\"},\"description\":\"I code and create web elements for amazing people around the world. I like work with new people. New people new Experiences. I truly enjoy what I'm doing, which makes me more passionate about web development and coding. I am always ready to do challenging tasks whether it is about creating a custom CMS from scratch or customizing an existing system.\",\"sameAs\":[\"https:\/\/codehim.com\"],\"url\":\"https:\/\/codehim.com\/author\/asif-mughal\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Content Placeholder Animation Using CSS &#8212; CodeHim","description":"Here is a free code snippet to create a Content Placeholder Animation Using CSS. You can view demo and download the source code.","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:\/\/codehim.com\/html5-css3\/content-placeholder-animation-using-css\/","og_locale":"en_US","og_type":"article","og_title":"Content Placeholder Animation Using CSS &#8212; CodeHim","og_description":"Here is a free code snippet to create a Content Placeholder Animation Using CSS. You can view demo and download the source code.","og_url":"https:\/\/codehim.com\/html5-css3\/content-placeholder-animation-using-css\/","og_site_name":"CodeHim","article_publisher":"https:\/\/www.facebook.com\/codehimofficial","article_published_time":"2024-01-18T18:18:00+00:00","article_modified_time":"2024-01-22T11:19:08+00:00","og_image":[{"width":1280,"height":980,"url":"https:\/\/codehim.com\/wp-content\/uploads\/2023\/12\/Content-Placeholder-Animation-Using-CSS-1.png","type":"image\/png"}],"author":"Asif Mughal","twitter_card":"summary_large_image","twitter_creator":"@CodeHimOfficial","twitter_site":"@CodeHimOfficial","twitter_misc":{"Written by":"Asif Mughal","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/codehim.com\/html5-css3\/content-placeholder-animation-using-css\/#article","isPartOf":{"@id":"https:\/\/codehim.com\/html5-css3\/content-placeholder-animation-using-css\/"},"author":{"name":"Asif Mughal","@id":"https:\/\/codehim.com\/#\/schema\/person\/cc48f1dbe072a89a62a98171b7db43ed"},"headline":"Content Placeholder Animation Using CSS","datePublished":"2024-01-18T18:18:00+00:00","dateModified":"2024-01-22T11:19:08+00:00","mainEntityOfPage":{"@id":"https:\/\/codehim.com\/html5-css3\/content-placeholder-animation-using-css\/"},"wordCount":209,"commentCount":0,"publisher":{"@id":"https:\/\/codehim.com\/#organization"},"image":{"@id":"https:\/\/codehim.com\/html5-css3\/content-placeholder-animation-using-css\/#primaryimage"},"thumbnailUrl":"https:\/\/codehim.com\/wp-content\/uploads\/2023\/12\/Content-Placeholder-Animation-Using-CSS-1.png","articleSection":["HTML5 &amp; CSS3"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/codehim.com\/html5-css3\/content-placeholder-animation-using-css\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/codehim.com\/html5-css3\/content-placeholder-animation-using-css\/","url":"https:\/\/codehim.com\/html5-css3\/content-placeholder-animation-using-css\/","name":"Content Placeholder Animation Using CSS &#8212; CodeHim","isPartOf":{"@id":"https:\/\/codehim.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/codehim.com\/html5-css3\/content-placeholder-animation-using-css\/#primaryimage"},"image":{"@id":"https:\/\/codehim.com\/html5-css3\/content-placeholder-animation-using-css\/#primaryimage"},"thumbnailUrl":"https:\/\/codehim.com\/wp-content\/uploads\/2023\/12\/Content-Placeholder-Animation-Using-CSS-1.png","datePublished":"2024-01-18T18:18:00+00:00","dateModified":"2024-01-22T11:19:08+00:00","description":"Here is a free code snippet to create a Content Placeholder Animation Using CSS. You can view demo and download the source code.","breadcrumb":{"@id":"https:\/\/codehim.com\/html5-css3\/content-placeholder-animation-using-css\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/codehim.com\/html5-css3\/content-placeholder-animation-using-css\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/codehim.com\/html5-css3\/content-placeholder-animation-using-css\/#primaryimage","url":"https:\/\/codehim.com\/wp-content\/uploads\/2023\/12\/Content-Placeholder-Animation-Using-CSS-1.png","contentUrl":"https:\/\/codehim.com\/wp-content\/uploads\/2023\/12\/Content-Placeholder-Animation-Using-CSS-1.png","width":1280,"height":980,"caption":"Content Placeholder Animation Using CSS"},{"@type":"BreadcrumbList","@id":"https:\/\/codehim.com\/html5-css3\/content-placeholder-animation-using-css\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/codehim.com\/"},{"@type":"ListItem","position":2,"name":"HTML5 &amp; CSS3","item":"https:\/\/codehim.com\/category\/html5-css3\/"},{"@type":"ListItem","position":3,"name":"Content Placeholder Animation Using CSS"}]},{"@type":"WebSite","@id":"https:\/\/codehim.com\/#website","url":"https:\/\/codehim.com\/","name":"CodeHim","description":"Web Design Code Snippets","publisher":{"@id":"https:\/\/codehim.com\/#organization"},"alternateName":"Web Design Codes","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/codehim.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/codehim.com\/#organization","name":"CodeHim - Web Design Code & Scripts","url":"https:\/\/codehim.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/codehim.com\/#\/schema\/logo\/image\/","url":"http:\/\/codehim.com\/wp-content\/uploads\/2023\/06\/Codehim-short-logo.jpg","contentUrl":"http:\/\/codehim.com\/wp-content\/uploads\/2023\/06\/Codehim-short-logo.jpg","width":280,"height":280,"caption":"CodeHim - Web Design Code & Scripts"},"image":{"@id":"https:\/\/codehim.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/codehimofficial","https:\/\/x.com\/CodeHimOfficial","https:\/\/www.instagram.com\/codehim\/","https:\/\/www.linkedin.com\/company\/codehim","https:\/\/co.pinterest.com\/codehim\/","https:\/\/www.youtube.com\/@codehim"]},{"@type":"Person","@id":"https:\/\/codehim.com\/#\/schema\/person\/cc48f1dbe072a89a62a98171b7db43ed","name":"Asif Mughal","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/codehim.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/b25bfcd7d4e341c2c6f785a88d8ad2a4?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/b25bfcd7d4e341c2c6f785a88d8ad2a4?s=96&d=mm&r=g","caption":"Asif Mughal"},"description":"I code and create web elements for amazing people around the world. I like work with new people. New people new Experiences. I truly enjoy what I'm doing, which makes me more passionate about web development and coding. I am always ready to do challenging tasks whether it is about creating a custom CMS from scratch or customizing an existing system.","sameAs":["https:\/\/codehim.com"],"url":"https:\/\/codehim.com\/author\/asif-mughal\/"}]}},"views":903,"_links":{"self":[{"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/posts\/10280","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/comments?post=10280"}],"version-history":[{"count":0,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/posts\/10280\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/media\/10299"}],"wp:attachment":[{"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/media?parent=10280"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/categories?post=10280"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/tags?post=10280"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}