{"id":9759,"date":"2024-01-10T18:07:00","date_gmt":"2024-01-10T18:07:00","guid":{"rendered":"https:\/\/codehim.com\/?p=9759"},"modified":"2024-01-22T16:09:37","modified_gmt":"2024-01-22T11:09:37","slug":"css-rainbow-effect-animation","status":"publish","type":"post","link":"https:\/\/codehim.com\/animation-effects\/css-rainbow-effect-animation\/","title":{"rendered":"CSS Rainbow Effect Animation"},"content":{"rendered":"<p>This CSS code snippet helps you to create a rainbow effect animation. It uses <a href=\"https:\/\/www.w3schools.com\/cssref\/css3_pr_animation-keyframes.php\" target=\"_blank\" rel=\"noopener\">CSS3 keyframes<\/a> for the rotation of vibrant colors in a circular pattern. You can integrate this code into your project to create a rainbow-like loading spinner or background animation.<\/p>\n<h2>How to Create Rainbow Effect Animation Using HTML &amp; CSS<\/h2>\n<p>1. First, integrate the HTML structure into your project. The code includes a container div with nested elements representing rotating circles. Customize the structure based on where you want to incorporate the rainbow effect.<\/p>\n<pre class=\"prettyprint linenums lang-html\">&lt;div class=\"team\"&gt;\r\n            &lt;div class=\"cap\"&gt;\r\n                &lt;div class=\"c0 c1\"&gt;&lt;\/div&gt;\r\n                &lt;div class=\"c0 c2\"&gt;&lt;\/div&gt;\r\n                &lt;div class=\"c0 c3\"&gt;&lt;\/div&gt;\r\n                &lt;div class=\"c0 c4\"&gt;&lt;\/div&gt;\r\n                &lt;div class=\"c0 c5\"&gt;&lt;\/div&gt;\r\n                &lt;div class=\"c0 c6\"&gt;&lt;\/div&gt;\r\n                &lt;div class=\"c0 c7\"&gt;&lt;\/div&gt;\r\n                &lt;div class=\"c0 c8\"&gt;&lt;\/div&gt;\r\n                &lt;div class=\"c0 c9\"&gt;&lt;\/div&gt;\r\n                &lt;div class=\"c0 c10\"&gt;&lt;\/div&gt;\r\n                &lt;div class=\"c0 c11\"&gt;&lt;\/div&gt;\r\n                &lt;div class=\"c0 c12\"&gt;&lt;\/div&gt;\r\n                &lt;div class=\"c0 c13\"&gt;&lt;\/div&gt;\r\n                &lt;div class=\"c0 c14\"&gt;&lt;\/div&gt;\r\n                &lt;div class=\"c0 c15\"&gt;&lt;\/div&gt;\r\n                &lt;div class=\"c0 c16\"&gt;&lt;\/div&gt;\r\n                &lt;div class=\"c0 c17\"&gt;&lt;\/div&gt;\r\n                &lt;div class=\"c0 c18\"&gt;&lt;\/div&gt;\r\n                &lt;div class=\"c0 c19\"&gt;&lt;\/div&gt;\r\n                &lt;div class=\"c0 c20\"&gt;&lt;\/div&gt;\r\n                &lt;div class=\"c0 c10\"&gt;&lt;\/div&gt;\r\n                &lt;div class=\"c0 c21\"&gt;&lt;\/div&gt;\r\n                &lt;div class=\"c0 c22\"&gt;&lt;\/div&gt;\r\n                &lt;div class=\"c0 c23\"&gt;&lt;\/div&gt;\r\n                &lt;div class=\"c0 c24\"&gt;&lt;\/div&gt;\r\n                &lt;div class=\"c0 c25\"&gt;&lt;\/div&gt;\r\n                &lt;div class=\"c0 c26\"&gt;&lt;\/div&gt;\r\n                &lt;div class=\"c0 c27\"&gt;&lt;\/div&gt;\r\n                &lt;div class=\"c0 c28\"&gt;&lt;\/div&gt;\r\n                &lt;div class=\"c0 c29\"&gt;&lt;\/div&gt;\r\n                &lt;div class=\"c0 c30\"&gt;&lt;\/div&gt;\r\n                &lt;div class=\"c0 c31\"&gt;&lt;\/div&gt;\r\n                &lt;div class=\"c0 c32\"&gt;&lt;\/div&gt;\r\n                &lt;div class=\"c0 c33\"&gt;&lt;\/div&gt;\r\n                &lt;div class=\"c0 c34\"&gt;&lt;\/div&gt;\r\n                &lt;div class=\"c0 c35\"&gt;&lt;\/div&gt;\r\n                &lt;div class=\"cvr\"&gt;&lt;\/div&gt;\r\n            &lt;\/div&gt;\r\n        &lt;\/div&gt;<\/pre>\n<p>2. Now, Add the following CSS code to your stylesheet (between <code>&lt;style&gt;<\/code> tag or external CSS file). This code defines the appearance, size, and animation properties of each circle. Adjust the colors and sizes as needed to suit your project.<\/p>\n<pre class=\"prettyprint linenums lang-css\">* {\r\n    margin:0;\r\n    padding:0;\r\n}\r\n@media (max-width:425px){\r\n    .team .cap {\r\n        transform:scale(0.9);\r\n    }\r\n}\r\n.team {\r\n    width:100vw;\r\n    height:100vh;\r\n    background-color:#000;\r\n    display:flex;\r\n    justify-content:center;\r\n    align-items:center;\r\n}\r\n.team .cap {\r\n    width:450px;\r\n    height:450px;\r\n    background-color:transparent;\r\n    display:flex;\r\n    justify-content:center;\r\n    align-items:center;\r\n}\r\n.team .cap .cvr {\r\n    width:450px;\r\n    height:225px;\r\n    background-color:#000;\r\n    z-index:99;\r\n    position:relative;\r\n    top:112px;\r\n}\r\n.team .cap .c0 {\r\n    position:absolute;\r\n    background-color:transparent;\r\n    border-radius:50%;\r\n    border-width:2.5px;\r\n    border-style:solid;\r\n    border-color:transparent;\r\n    transform:rotateZ(135deg);\r\n}\r\n.team .cap .c1 {\r\n    width:25px;\r\n    height:25px;\r\n    border-top-color:#9400D3;\r\n    border-right-color:#9400D3;\r\n    animation:spin 2s ease-out 3.5s infinite alternate;\r\n}\r\n.team .cap .c2 {\r\n    width:37px;\r\n    height:37px;\r\n    border-top-color:#9400D3;\r\n    border-right-color:#9400D3;\r\n    animation:spin 2s ease-out 3.4s infinite alternate;\r\n}\r\n.team .cap .c3 {\r\n    width:49px;\r\n    height:49px;\r\n    border-top-color:#9400D3;\r\n    border-right-color:#9400D3;\r\n    animation:spin 2s ease-out 3.3s infinite alternate;\r\n}\r\n.team .cap .c4 {\r\n    width:61px;\r\n    height:61px;\r\n    border-top-color:#9400D3;\r\n    border-right-color:#9400D3;\r\n    animation:spin 2s ease-out 3.2s infinite alternate;\r\n}\r\n.team .cap .c5 {\r\n    width:73px;\r\n    height:73px;\r\n    border-top-color:#9400D3;\r\n    border-right-color:#9400D3;\r\n    animation:spin 2s ease-out 3.1s infinite alternate;\r\n}\r\n.team .cap .c6 {\r\n    width:85px;\r\n    height:85px;\r\n    border-top-color:#4B0082;\r\n    border-right-color:#4B0082;\r\n    animation:spin 2s ease-out 3s infinite alternate;\r\n}\r\n.team .cap .c7 {\r\n    width:97px;\r\n    height:97px;\r\n    border-top-color:#4B0082;\r\n    border-right-color:#4B0082;\r\n    animation:spin 2s ease-out 2.9s infinite alternate;\r\n}\r\n.team .cap .c8 {\r\n    width:109px;\r\n    height:109px;\r\n    border-top-color:#4B0082;\r\n    border-right-color:#4B0082;\r\n    animation:spin 2s ease-out 2.8s infinite alternate;\r\n}\r\n.team .cap .c9 {\r\n    width:121px;\r\n    height:121px;\r\n    border-top-color:#4B0082;\r\n    border-right-color:#4B0082;\r\n    animation:spin 2s ease-out 2.7s infinite alternate;\r\n}\r\n.team .cap .c10 {\r\n    width:132px;\r\n    height:132px;\r\n    border-top-color:#4B0082;\r\n    border-right-color:#4B0082;\r\n    animation:spin 2s ease-out 2.6s infinite alternate;\r\n}\r\n.team .cap .c11 {\r\n    width:144px;\r\n    height:144px;\r\n    border-top-color:#0000FF;\r\n    border-right-color:#0000FF;\r\n    animation:spin 2s ease-out 2.5s infinite alternate;\r\n}\r\n.team .cap .c12 {\r\n    width:156px;\r\n    height:156px;\r\n    border-top-color:#0000FF;\r\n    border-right-color:#0000FF;\r\n    animation:spin 2s ease-out 2.4s infinite alternate;\r\n}\r\n.team .cap .c13 {\r\n    width:168px;\r\n    height:168px;\r\n    border-top-color:#0000FF;\r\n    border-right-color:#0000FF;\r\n    animation:spin 2s ease-out 2.3s infinite alternate;\r\n}\r\n.team .cap .c14 {\r\n    width:180px;\r\n    height:180px;\r\n    border-top-color:#0000FF;\r\n    border-right-color:#0000FF;\r\n    animation:spin 2s ease-out 2.2s infinite alternate;\r\n}\r\n.team .cap .c15 {\r\n    width:192px;\r\n    height:192px;\r\n    border-top-color:#0000FF;\r\n    border-right-color:#0000FF;\r\n    animation:spin 2s ease-out 2.1s infinite alternate;\r\n}\r\n.team .cap .c16 {\r\n    width:204px;\r\n    height:204px;\r\n    border-top-color:#00FF00;\r\n    border-right-color:#00FF00;\r\n    animation:spin 2s ease-out 2s infinite alternate;\r\n}\r\n.team .cap .c17 {\r\n    width:216px;\r\n    height:216px;\r\n    border-top-color:#00FF00;\r\n    border-right-color:#00FF00;\r\n    animation:spin 2s ease-out 1.9s infinite alternate;\r\n}\r\n.team .cap .c18 {\r\n    width:228px;\r\n    height:228px;\r\n    border-top-color:#00FF00;\r\n    border-right-color:#00FF00;\r\n    animation:spin 2s ease-out 1.8s infinite alternate;\r\n}\r\n.team .cap .c19 {\r\n    width:240px;\r\n    height:240px;\r\n    border-top-color:#00FF00;\r\n    border-right-color:#00FF00;\r\n    animation:spin 2s ease-out 1.7s infinite alternate;\r\n}\r\n.team .cap .c20 {\r\n    width:252px;\r\n    height:252px;\r\n    border-top-color:#00FF00;\r\n    border-right-color:#00FF00;\r\n    animation:spin 2s ease-out 1.6s infinite alternate;\r\n}\r\n.team .cap .c21 {\r\n    width:264px;\r\n    height:264px;\r\n    border-top-color:#FFFF00;\r\n    border-right-color:#FFFF00;\r\n    animation:spin 2s ease-out 1.5s infinite alternate;\r\n}\r\n.team .cap .c22 {\r\n    width:276px;\r\n    height:276px;\r\n    border-top-color:#FFFF00;\r\n    border-right-color:#FFFF00;\r\n    animation:spin 2s ease-out 1.4s infinite alternate;\r\n}\r\n.team .cap .c23 {\r\n    width:288px;\r\n    height:288px;\r\n    border-top-color:#FFFF00;\r\n    border-right-color:#FFFF00;\r\n    animation:spin 2s ease-out 1.3s infinite alternate;\r\n}\r\n.team .cap .c24 {\r\n    width:300px;\r\n    height:300px;\r\n    border-top-color:#FFFF00;\r\n    border-right-color:#FFFF00;\r\n    animation:spin 2s ease-out 1.2s infinite alternate;\r\n}\r\n.team .cap .c25 {\r\n    width:312px;\r\n    height:312px;\r\n    border-top-color:#FFFF00;\r\n    border-right-color:#FFFF00;\r\n    animation:spin 2s ease-out 1.1s infinite alternate;\r\n}\r\n.team .cap .c26 {\r\n    width:324px;\r\n    height:324px;\r\n    border-top-color:#FF7F00;\r\n    border-right-color:#FF7F00;\r\n    animation:spin 2s ease-out 1s infinite alternate;\r\n}\r\n.team .cap .c27 {\r\n    width:336px;\r\n    height:336px;\r\n    border-top-color:#FF7F00;\r\n    border-right-color:#FF7F00;\r\n    animation:spin 2s ease-out 0.9s infinite alternate;\r\n}\r\n.team .cap .c28 {\r\n    width:348px;\r\n    height:348px;\r\n    border-top-color:#FF7F00;\r\n    border-right-color:#FF7F00;\r\n    animation:spin 2s ease-out 0.8s infinite alternate;\r\n}\r\n.team .cap .c29 {\r\n    width:360px;\r\n    height:360px;\r\n    border-top-color:#FF7F00;\r\n    border-right-color:#FF7F00;\r\n    animation:spin 2s ease-out 0.7s infinite alternate;\r\n}\r\n.team .cap .c30 {\r\n    width:372px;\r\n    height:372px;\r\n    border-top-color:#FF7F00;\r\n    border-right-color:#FF7F00;\r\n    animation:spin 2s ease-out 0.6s infinite alternate;\r\n}\r\n.team .cap .c31 {\r\n    width:384px;\r\n    height:384px;\r\n    border-top-color:#FF0000;\r\n    border-right-color:#FF0000;\r\n    animation:spin 2s ease-out 0.5s infinite alternate;\r\n}\r\n.team .cap .c32 {\r\n    width:396px;\r\n    height:396px;\r\n    border-top-color:#FF0000;\r\n    border-right-color:#FF0000;\r\n    animation:spin 2s ease-out 0.4s infinite alternate;\r\n}\r\n.team .cap .c33 {\r\n    width:408px;\r\n    height:408px;\r\n    border-top-color:#FF0000;\r\n    border-right-color:#FF0000;\r\n    animation:spin 2s ease-out 0.3s infinite alternate;\r\n}\r\n.team .cap .c34 {\r\n    width:420px;\r\n    height:420px;\r\n    border-top-color:#FF0000;\r\n    border-right-color:#FF0000;\r\n    animation:spin 2s ease-out 0.2s infinite alternate;\r\n}\r\n.team .cap .c35 {\r\n    width:432px;\r\n    height:432px;\r\n    border-top-color:#FF0000;\r\n    border-right-color:#FF0000;\r\n    animation:spin 2s ease-out 0.1s infinite alternate;\r\n}\r\n@keyframes spin {\r\n    0% {transform:rotateZ(135deg);}\r\n    100% {transform:rotateZ(315deg);}\r\n}<\/pre>\n<p>Feel free to customize the number and size of the circles. Adjust the colors to your preference by modifying the border colors in each circle class. Experiment with the animation duration and speeds if desired.<\/p>\n<p>That&#8217;s all! hopefully, you have successfully created Rainbow Effect Animation on your web\/app project. You can experiment with colors, sizes, and animation speeds to tailor the effect to your specific project requirements. If you have any questions or suggestions, feel free to comment below.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This CSS code snippet helps you to create a rainbow effect animation. It uses CSS3 keyframes for the rotation of&#8230;<\/p>\n","protected":false},"author":1,"featured_media":9780,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[209],"tags":[],"class_list":["post-9759","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-animation-effects"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>CSS Rainbow Effect Animation &#8212; CodeHim<\/title>\n<meta name=\"description\" content=\"Here is a free code snippet to create a CSS Rainbow Effect Animation. 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\/animation-effects\/css-rainbow-effect-animation\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"CSS Rainbow Effect Animation &#8212; CodeHim\" \/>\n<meta property=\"og:description\" content=\"Here is a free code snippet to create a CSS Rainbow Effect Animation. You can view demo and download the source code.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/codehim.com\/animation-effects\/css-rainbow-effect-animation\/\" \/>\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-10T18:07:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-01-22T11:09:37+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/codehim.com\/wp-content\/uploads\/2023\/11\/CSS-Rainbow-Effect-Animation.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1280\" \/>\n\t<meta property=\"og:image:height\" content=\"960\" \/>\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=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/codehim.com\/animation-effects\/css-rainbow-effect-animation\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/codehim.com\/animation-effects\/css-rainbow-effect-animation\/\"},\"author\":{\"name\":\"Asif Mughal\",\"@id\":\"https:\/\/codehim.com\/#\/schema\/person\/cc48f1dbe072a89a62a98171b7db43ed\"},\"headline\":\"CSS Rainbow Effect Animation\",\"datePublished\":\"2024-01-10T18:07:00+00:00\",\"dateModified\":\"2024-01-22T11:09:37+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/codehim.com\/animation-effects\/css-rainbow-effect-animation\/\"},\"wordCount\":209,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/codehim.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/codehim.com\/animation-effects\/css-rainbow-effect-animation\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/codehim.com\/wp-content\/uploads\/2023\/11\/CSS-Rainbow-Effect-Animation.png\",\"articleSection\":[\"Animation &amp; Effects\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/codehim.com\/animation-effects\/css-rainbow-effect-animation\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/codehim.com\/animation-effects\/css-rainbow-effect-animation\/\",\"url\":\"https:\/\/codehim.com\/animation-effects\/css-rainbow-effect-animation\/\",\"name\":\"CSS Rainbow Effect Animation &#8212; CodeHim\",\"isPartOf\":{\"@id\":\"https:\/\/codehim.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/codehim.com\/animation-effects\/css-rainbow-effect-animation\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/codehim.com\/animation-effects\/css-rainbow-effect-animation\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/codehim.com\/wp-content\/uploads\/2023\/11\/CSS-Rainbow-Effect-Animation.png\",\"datePublished\":\"2024-01-10T18:07:00+00:00\",\"dateModified\":\"2024-01-22T11:09:37+00:00\",\"description\":\"Here is a free code snippet to create a CSS Rainbow Effect Animation. You can view demo and download the source code.\",\"breadcrumb\":{\"@id\":\"https:\/\/codehim.com\/animation-effects\/css-rainbow-effect-animation\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/codehim.com\/animation-effects\/css-rainbow-effect-animation\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/codehim.com\/animation-effects\/css-rainbow-effect-animation\/#primaryimage\",\"url\":\"https:\/\/codehim.com\/wp-content\/uploads\/2023\/11\/CSS-Rainbow-Effect-Animation.png\",\"contentUrl\":\"https:\/\/codehim.com\/wp-content\/uploads\/2023\/11\/CSS-Rainbow-Effect-Animation.png\",\"width\":1280,\"height\":960,\"caption\":\"CSS Rainbow Effect Animation\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/codehim.com\/animation-effects\/css-rainbow-effect-animation\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/codehim.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Animation &amp; Effects\",\"item\":\"https:\/\/codehim.com\/category\/animation-effects\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"CSS Rainbow Effect Animation\"}]},{\"@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":"CSS Rainbow Effect Animation &#8212; CodeHim","description":"Here is a free code snippet to create a CSS Rainbow Effect Animation. 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\/animation-effects\/css-rainbow-effect-animation\/","og_locale":"en_US","og_type":"article","og_title":"CSS Rainbow Effect Animation &#8212; CodeHim","og_description":"Here is a free code snippet to create a CSS Rainbow Effect Animation. You can view demo and download the source code.","og_url":"https:\/\/codehim.com\/animation-effects\/css-rainbow-effect-animation\/","og_site_name":"CodeHim","article_publisher":"https:\/\/www.facebook.com\/codehimofficial","article_published_time":"2024-01-10T18:07:00+00:00","article_modified_time":"2024-01-22T11:09:37+00:00","og_image":[{"width":1280,"height":960,"url":"https:\/\/codehim.com\/wp-content\/uploads\/2023\/11\/CSS-Rainbow-Effect-Animation.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":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/codehim.com\/animation-effects\/css-rainbow-effect-animation\/#article","isPartOf":{"@id":"https:\/\/codehim.com\/animation-effects\/css-rainbow-effect-animation\/"},"author":{"name":"Asif Mughal","@id":"https:\/\/codehim.com\/#\/schema\/person\/cc48f1dbe072a89a62a98171b7db43ed"},"headline":"CSS Rainbow Effect Animation","datePublished":"2024-01-10T18:07:00+00:00","dateModified":"2024-01-22T11:09:37+00:00","mainEntityOfPage":{"@id":"https:\/\/codehim.com\/animation-effects\/css-rainbow-effect-animation\/"},"wordCount":209,"commentCount":0,"publisher":{"@id":"https:\/\/codehim.com\/#organization"},"image":{"@id":"https:\/\/codehim.com\/animation-effects\/css-rainbow-effect-animation\/#primaryimage"},"thumbnailUrl":"https:\/\/codehim.com\/wp-content\/uploads\/2023\/11\/CSS-Rainbow-Effect-Animation.png","articleSection":["Animation &amp; Effects"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/codehim.com\/animation-effects\/css-rainbow-effect-animation\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/codehim.com\/animation-effects\/css-rainbow-effect-animation\/","url":"https:\/\/codehim.com\/animation-effects\/css-rainbow-effect-animation\/","name":"CSS Rainbow Effect Animation &#8212; CodeHim","isPartOf":{"@id":"https:\/\/codehim.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/codehim.com\/animation-effects\/css-rainbow-effect-animation\/#primaryimage"},"image":{"@id":"https:\/\/codehim.com\/animation-effects\/css-rainbow-effect-animation\/#primaryimage"},"thumbnailUrl":"https:\/\/codehim.com\/wp-content\/uploads\/2023\/11\/CSS-Rainbow-Effect-Animation.png","datePublished":"2024-01-10T18:07:00+00:00","dateModified":"2024-01-22T11:09:37+00:00","description":"Here is a free code snippet to create a CSS Rainbow Effect Animation. You can view demo and download the source code.","breadcrumb":{"@id":"https:\/\/codehim.com\/animation-effects\/css-rainbow-effect-animation\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/codehim.com\/animation-effects\/css-rainbow-effect-animation\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/codehim.com\/animation-effects\/css-rainbow-effect-animation\/#primaryimage","url":"https:\/\/codehim.com\/wp-content\/uploads\/2023\/11\/CSS-Rainbow-Effect-Animation.png","contentUrl":"https:\/\/codehim.com\/wp-content\/uploads\/2023\/11\/CSS-Rainbow-Effect-Animation.png","width":1280,"height":960,"caption":"CSS Rainbow Effect Animation"},{"@type":"BreadcrumbList","@id":"https:\/\/codehim.com\/animation-effects\/css-rainbow-effect-animation\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/codehim.com\/"},{"@type":"ListItem","position":2,"name":"Animation &amp; Effects","item":"https:\/\/codehim.com\/category\/animation-effects\/"},{"@type":"ListItem","position":3,"name":"CSS Rainbow Effect Animation"}]},{"@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":1290,"_links":{"self":[{"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/posts\/9759","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=9759"}],"version-history":[{"count":0,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/posts\/9759\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/media\/9780"}],"wp:attachment":[{"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/media?parent=9759"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/categories?post=9759"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/tags?post=9759"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}