{"id":10091,"date":"2024-01-10T18:17:00","date_gmt":"2024-01-10T18:17:00","guid":{"rendered":"https:\/\/codehim.com\/?p=10091"},"modified":"2024-01-22T16:17:55","modified_gmt":"2024-01-22T11:17:55","slug":"css-border-animation-examples","status":"publish","type":"post","link":"https:\/\/codehim.com\/animation-effects\/css-border-animation-examples\/","title":{"rendered":"12+ CSS Border Animation Examples"},"content":{"rendered":"<p>This code showcases 12 CSS border animation examples. It creates various border effects on shapes. Using hover, it triggers dynamic border changes. The code employs CSS animations to create eye-catching effects. It helps learn CSS border animations and transitions.<\/p>\n<h2>How to Create CSS Border Animation Examples<\/h2>\n<p>1. First of all, load the <a href=\"https:\/\/necolas.github.io\/normalize.css\/\" target=\"_blank\" rel=\"noopener\">Normalize CSS<\/a> and Google Fonts by adding the following CDN links 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;\r\n&lt;link href=\"https:\/\/fonts.googleapis.com\/css?family=Quicksand:300,400,500,700\" rel=\"stylesheet\"&gt;<\/pre>\n<p>2. Set up the HTML structure containing a grid of animated boxes. Each box represents a different border animation example.<\/p>\n<pre class=\"prettyprint linenums lang-html\">\t&lt;div class=\"warning\"&gt;\r\n\t\tThis page uses &lt;a href=\"https:\/\/css-tricks.com\/snippets\/css\/complete-guide-grid\/\" title=\"CSS Grid Layout\" target=\"_blank\"&gt;CSS Grid Layout&lt;\/a&gt;. If you are reading this message, your browser does not support this feature and you may not be able to see a grid of example boxes. You can check the browser compatibility &lt;a href=\"http:\/\/caniuse.com\/#feat=css-grid\" title=\"Can I Use CSS Grid Layout\" target=\"_blank\"&gt;here&lt;\/a&gt;.\r\n\t&lt;\/div&gt;\r\n\t&lt;h1&gt;Simple Animations using CSS Borders&lt;\/h1&gt;\r\n\t&lt;h3&gt;Hover your mouse on the examples below to see the effect.&lt;\/h3&gt;\r\n\t&lt;div class=\"grid-container\"&gt;\r\n\t\t&lt;div&gt;\r\n\t\t\t&lt;h2&gt;1. Interchange border colors&lt;\/h2&gt;\r\n\t\t\t&lt;div class=\"box box1\"&gt;&lt;\/div&gt;\r\n\t\t&lt;\/div&gt;\r\n\t\t&lt;div&gt;\r\n\t\t\t&lt;h2&gt;2. Expand width&lt;\/h2&gt;\r\n\t\t\t&lt;div class=\"box box2\"&gt;&lt;\/div&gt;\r\n\t\t&lt;\/div&gt;\r\n\t\t&lt;div&gt;\r\n\t\t\t&lt;h2&gt;3. Expand width &amp;amp; height&lt;\/h2&gt;\r\n\t\t\t&lt;div class=\"box box3\"&gt;&lt;\/div&gt;\r\n\t\t&lt;\/div&gt;\r\n\t\t&lt;div&gt;\r\n\t\t\t&lt;h2&gt;4. Rotate border colors using keyframe animations&lt;\/h2&gt;\r\n\t\t\t&lt;div class=\"box box4\"&gt;&lt;\/div&gt;\r\n\t\t&lt;\/div&gt;\r\n\t\t&lt;div&gt;\r\n\t\t\t&lt;h2&gt;5. Four colored circle&lt;\/h2&gt;\r\n\t\t\t&lt;div class=\"box box5\"&gt;&lt;\/div&gt;\r\n\t\t&lt;\/div&gt;\r\n\t\t&lt;div&gt;\r\n\t\t\t&lt;h2&gt;6. Two colored triangle&lt;\/h2&gt;\r\n\t\t\t&lt;div class=\"box box6\"&gt;&lt;\/div&gt;\r\n\t\t&lt;\/div&gt;\r\n\t\t&lt;div&gt;\r\n\t\t\t&lt;h2&gt;7. Two colored square&lt;\/h2&gt;\r\n\t\t\t&lt;div class=\"box box7\"&gt;&lt;\/div&gt;\r\n\t\t&lt;\/div&gt;\r\n\t\t&lt;div&gt;\r\n\t\t\t&lt;h2&gt;8. Missing top border&lt;\/h2&gt;\r\n\t\t\t&lt;div class=\"box box8\"&gt;&lt;\/div&gt;\r\n\t\t&lt;\/div&gt;\r\n\t\t&lt;div&gt;\r\n\t\t\t&lt;h2&gt;9. Down Arrow&lt;\/h2&gt;\r\n\t\t\t&lt;div class=\"box box9\"&gt;&lt;\/div&gt;\r\n\t\t&lt;\/div&gt;\r\n\t\t&lt;div&gt;\r\n\t\t\t&lt;h2&gt;10. Left Arrow&lt;\/h2&gt;\r\n\t\t\t&lt;div class=\"box box10\"&gt;&lt;\/div&gt;\r\n\t\t&lt;\/div&gt;\r\n\t\t&lt;div&gt;\r\n\t\t\t&lt;h2&gt;11. Up Arrow&lt;\/h2&gt;\r\n\t\t\t&lt;div class=\"box box11\"&gt;&lt;\/div&gt;\r\n\t\t&lt;\/div&gt;\r\n\t\t&lt;div&gt;\r\n\t\t\t&lt;h2&gt;12. Right Arrow&lt;\/h2&gt;\r\n\t\t\t&lt;div class=\"box box12\"&gt;&lt;\/div&gt;\r\n\t\t&lt;\/div&gt;\r\n\t&lt;\/div&gt;\r\n\r\n\t&lt;footer&gt;\r\n\t\t&lt;a href=\"https:\/\/github.com\/mpsinghk\/animations-using-css-borders\" title=\"Fork on GitHub\" target=\"_blank\"&gt;Fork on GitHub&lt;\/a&gt;\r\n\t&lt;\/footer&gt;\r\n<\/pre>\n<p>3. The following CSS code defines the animations for each box. It uses classes like <code>.box1<\/code>, <code>.box2<\/code>, etc., to target specific elements. Modify the styles for each <code>.box<\/code> class to change the border effects on hover or focus. Experiment with changing border widths, colors, and shapes to create unique animations.<\/p>\n<p>Explore the keyframes defined for certain animations (<code>@keyframes rotate-borders<\/code>) to understand how the borders transition.<\/p>\n<pre class=\"prettyprint linenums lang-css\">\/* Base\r\n------------------------------------------------------- *\/\r\nbody {\r\n  font-family: 'Quicksand', sans-serif;\r\n  font-size: calc(16px + 0.3vw);\r\n  font-weight: 300;\r\n  line-height: 1.4;\r\n  text-align: center;\r\n  padding: 40px 30px 30px;\r\n}\r\n\r\n\/* Typography\r\n------------------------------------------------------- *\/\r\nh1 {\r\n  font-size: 3.2em;\r\n  line-height: 1.1;\r\n  font-weight: 700;\r\n  margin: 0 0 0.3em;\r\n}\r\n\r\nh2 {\r\n  font-size: 1.2em;\r\n  line-height: 1.3;\r\n  font-weight: 400;\r\n  margin: 0 0 0.8em;\r\n}\r\n\r\na,\r\na:hover,\r\na:focus {\r\n  text-decoration: none;\r\n  color: #00a7e3;\r\n}\r\n\r\n\/* Footer\r\n------------------------------------------------------- *\/\r\nfooter {\r\n  font-size: 0.9em;\r\n  padding: 20px;\r\n  margin-top: 50px;\r\n  border-top: 1px solid #ccc;\r\n}\r\n\r\n\/* CSS Grid Layout\r\n------------------------------------------------------- *\/\r\n.grid-container {\r\n  display: grid;\r\n  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));\r\n  grid-gap: 20px;\r\n}\r\n\r\n.grid-container &gt; div {\r\n  border: 1px solid #ccc;\r\n  padding: 30px;\r\n  -webkit-box-sizing: border-box;\r\n          box-sizing: border-box;\r\n}\r\n\r\n\/* Warning message if using old browser\r\nthat does not support CSS Grid Layout.\r\n------------------------------------------------------- *\/\r\n.warning {\r\n  padding: 20px;\r\n  margin-bottom: 30px;\r\n  background: #f7b563;\r\n  border: 1px solid #e88d1a;\r\n  border-radius: 3px;\r\n}\r\n\r\n.warning a {\r\n  color: #fff;\r\n}\r\n\r\n@supports (display: grid) {\r\n  .warning {\r\n    display: none;\r\n  }\r\n}\r\n\r\n\/* Example boxes\r\n------------------------------------------------------- *\/\r\n.box {\r\n  display: inline-block;\r\n  cursor: pointer;\r\n  width: 100px;\r\n  height: 100px;\r\n  border-width: 35px;\r\n  border-style: solid;\r\n  border-color: cyan magenta yellow black;\r\n  -webkit-transition: all 0.3s ease-in-out;\r\n  transition: all 0.3s ease-in-out;\r\n}\r\n\r\n.box1:hover,\r\n.box1:focus {\r\n  border-color: yellow black cyan magenta;\r\n}\r\n\r\n.box2 {\r\n  width: 0;\r\n}\r\n\r\n.box2:hover,\r\n.box2:focus {\r\n  width: 100px;\r\n}\r\n\r\n.box3 {\r\n  width: 0;\r\n  height: 0;\r\n}\r\n\r\n.box3:hover,\r\n.box3:focus {\r\n  width: 100px;\r\n  height: 100px;\r\n}\r\n\r\n@-webkit-keyframes rotate-borders {\r\n  25% { border-color: black cyan magenta yellow; }\r\n  50% { border-color: yellow black cyan magenta; }\r\n  75% { border-color: magenta yellow black cyan; }\r\n  100% { border-color: cyan magenta yellow black; }\r\n}\r\n\r\n@keyframes rotate-borders {\r\n  25% { border-color: black cyan magenta yellow; }\r\n  50% { border-color: yellow black cyan magenta; }\r\n  75% { border-color: magenta yellow black cyan; }\r\n  100% { border-color: cyan magenta yellow black; }\r\n}\r\n\r\n.box4 {\r\n  -webkit-animation: rotate-borders 6s infinite;\r\n          animation: rotate-borders 6s infinite;\r\n}\r\n\r\n.box5:hover,\r\n.box5:focus {\r\n  border-radius: 50%;\r\n}\r\n\r\n.box6:hover,\r\n.box6:focus {\r\n  width: 0;\r\n  height: 0;\r\n  border-width: 85px;\r\n  border-color: transparent magenta yellow transparent;\r\n}\r\n\r\n.box7:hover,\r\n.box7:focus {\r\n  width: 0;\r\n  height: 0;\r\n  border-width: 0 170px 170px 0;\r\n  border-color: transparent magenta yellow transparent;\r\n}\r\n\r\n.box8:hover,\r\n.box8:focus {\r\n  width: 0;\r\n  height: 0;\r\n  border-width: 85px;\r\n  border-color: transparent magenta yellow black;\r\n}\r\n\r\n.box9:hover,\r\n.box9:focus {\r\n  width: 0;\r\n  height: 0;\r\n  border-width: 170px 85px 0 85px;\r\n  border-color: cyan transparent transparent transparent;\r\n}\r\n\r\n.box10:hover,\r\n.box10:focus {\r\n  width: 0;\r\n  height: 0;\r\n  border-width: 85px 170px 85px 0;\r\n  border-color: transparent magenta transparent transparent;\r\n}\r\n\r\n.box11:hover,\r\n.box11:focus {\r\n  width: 0;\r\n  height: 0;\r\n  border-width: 0 85px 170px 85px;\r\n  border-color: transparent transparent yellow transparent;\r\n}\r\n\r\n.box12:hover,\r\n.box12:focus {\r\n  width: 0;\r\n  height: 0;\r\n  border-width: 85px 0 85px 170px;\r\n  border-color: transparent transparent transparent black;\r\n}<\/pre>\n<p>In the above CSS code, each <code>.box<\/code> class represents an example with its unique border animation effect. These effects trigger on hover or focus. The <code>.box1<\/code>, <code>.box2<\/code>, and so on, classes define individual animations. You can modify these to create your custom effects. Experiment with properties like <code>border-width<\/code>, <code>border-color<\/code>, and transitions to create variations.<\/p>\n<p>That&#8217;s all! hopefully, you have successfully integrated CSS border animation examples into your project. If you have any questions or suggestions, feel free to comment below.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This code showcases 12 CSS border animation examples. It creates various border effects on shapes. Using hover, it triggers dynamic&#8230;<\/p>\n","protected":false},"author":1,"featured_media":10099,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[209],"tags":[],"class_list":["post-10091","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>12+ CSS Border Animation Examples &#8212; CodeHim<\/title>\n<meta name=\"description\" content=\"Here is a free code snippet to create a 12+ CSS Border Animation Examples. 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-border-animation-examples\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"12+ CSS Border Animation Examples &#8212; CodeHim\" \/>\n<meta property=\"og:description\" content=\"Here is a free code snippet to create a 12+ CSS Border Animation Examples. You can view demo and download the source code.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/codehim.com\/animation-effects\/css-border-animation-examples\/\" \/>\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:17:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-01-22T11:17:55+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/codehim.com\/wp-content\/uploads\/2023\/12\/CSS-Border-Animation-Examples.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-border-animation-examples\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/codehim.com\/animation-effects\/css-border-animation-examples\/\"},\"author\":{\"name\":\"Asif Mughal\",\"@id\":\"https:\/\/codehim.com\/#\/schema\/person\/cc48f1dbe072a89a62a98171b7db43ed\"},\"headline\":\"12+ CSS Border Animation Examples\",\"datePublished\":\"2024-01-10T18:17:00+00:00\",\"dateModified\":\"2024-01-22T11:17:55+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/codehim.com\/animation-effects\/css-border-animation-examples\/\"},\"wordCount\":227,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/codehim.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/codehim.com\/animation-effects\/css-border-animation-examples\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/codehim.com\/wp-content\/uploads\/2023\/12\/CSS-Border-Animation-Examples.png\",\"articleSection\":[\"Animation &amp; Effects\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/codehim.com\/animation-effects\/css-border-animation-examples\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/codehim.com\/animation-effects\/css-border-animation-examples\/\",\"url\":\"https:\/\/codehim.com\/animation-effects\/css-border-animation-examples\/\",\"name\":\"12+ CSS Border Animation Examples &#8212; CodeHim\",\"isPartOf\":{\"@id\":\"https:\/\/codehim.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/codehim.com\/animation-effects\/css-border-animation-examples\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/codehim.com\/animation-effects\/css-border-animation-examples\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/codehim.com\/wp-content\/uploads\/2023\/12\/CSS-Border-Animation-Examples.png\",\"datePublished\":\"2024-01-10T18:17:00+00:00\",\"dateModified\":\"2024-01-22T11:17:55+00:00\",\"description\":\"Here is a free code snippet to create a 12+ CSS Border Animation Examples. You can view demo and download the source code.\",\"breadcrumb\":{\"@id\":\"https:\/\/codehim.com\/animation-effects\/css-border-animation-examples\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/codehim.com\/animation-effects\/css-border-animation-examples\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/codehim.com\/animation-effects\/css-border-animation-examples\/#primaryimage\",\"url\":\"https:\/\/codehim.com\/wp-content\/uploads\/2023\/12\/CSS-Border-Animation-Examples.png\",\"contentUrl\":\"https:\/\/codehim.com\/wp-content\/uploads\/2023\/12\/CSS-Border-Animation-Examples.png\",\"width\":1280,\"height\":960,\"caption\":\"CSS Border Animation Examples\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/codehim.com\/animation-effects\/css-border-animation-examples\/#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\":\"12+ CSS Border Animation Examples\"}]},{\"@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":"12+ CSS Border Animation Examples &#8212; CodeHim","description":"Here is a free code snippet to create a 12+ CSS Border Animation Examples. 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-border-animation-examples\/","og_locale":"en_US","og_type":"article","og_title":"12+ CSS Border Animation Examples &#8212; CodeHim","og_description":"Here is a free code snippet to create a 12+ CSS Border Animation Examples. You can view demo and download the source code.","og_url":"https:\/\/codehim.com\/animation-effects\/css-border-animation-examples\/","og_site_name":"CodeHim","article_publisher":"https:\/\/www.facebook.com\/codehimofficial","article_published_time":"2024-01-10T18:17:00+00:00","article_modified_time":"2024-01-22T11:17:55+00:00","og_image":[{"width":1280,"height":960,"url":"https:\/\/codehim.com\/wp-content\/uploads\/2023\/12\/CSS-Border-Animation-Examples.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-border-animation-examples\/#article","isPartOf":{"@id":"https:\/\/codehim.com\/animation-effects\/css-border-animation-examples\/"},"author":{"name":"Asif Mughal","@id":"https:\/\/codehim.com\/#\/schema\/person\/cc48f1dbe072a89a62a98171b7db43ed"},"headline":"12+ CSS Border Animation Examples","datePublished":"2024-01-10T18:17:00+00:00","dateModified":"2024-01-22T11:17:55+00:00","mainEntityOfPage":{"@id":"https:\/\/codehim.com\/animation-effects\/css-border-animation-examples\/"},"wordCount":227,"commentCount":0,"publisher":{"@id":"https:\/\/codehim.com\/#organization"},"image":{"@id":"https:\/\/codehim.com\/animation-effects\/css-border-animation-examples\/#primaryimage"},"thumbnailUrl":"https:\/\/codehim.com\/wp-content\/uploads\/2023\/12\/CSS-Border-Animation-Examples.png","articleSection":["Animation &amp; Effects"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/codehim.com\/animation-effects\/css-border-animation-examples\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/codehim.com\/animation-effects\/css-border-animation-examples\/","url":"https:\/\/codehim.com\/animation-effects\/css-border-animation-examples\/","name":"12+ CSS Border Animation Examples &#8212; CodeHim","isPartOf":{"@id":"https:\/\/codehim.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/codehim.com\/animation-effects\/css-border-animation-examples\/#primaryimage"},"image":{"@id":"https:\/\/codehim.com\/animation-effects\/css-border-animation-examples\/#primaryimage"},"thumbnailUrl":"https:\/\/codehim.com\/wp-content\/uploads\/2023\/12\/CSS-Border-Animation-Examples.png","datePublished":"2024-01-10T18:17:00+00:00","dateModified":"2024-01-22T11:17:55+00:00","description":"Here is a free code snippet to create a 12+ CSS Border Animation Examples. You can view demo and download the source code.","breadcrumb":{"@id":"https:\/\/codehim.com\/animation-effects\/css-border-animation-examples\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/codehim.com\/animation-effects\/css-border-animation-examples\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/codehim.com\/animation-effects\/css-border-animation-examples\/#primaryimage","url":"https:\/\/codehim.com\/wp-content\/uploads\/2023\/12\/CSS-Border-Animation-Examples.png","contentUrl":"https:\/\/codehim.com\/wp-content\/uploads\/2023\/12\/CSS-Border-Animation-Examples.png","width":1280,"height":960,"caption":"CSS Border Animation Examples"},{"@type":"BreadcrumbList","@id":"https:\/\/codehim.com\/animation-effects\/css-border-animation-examples\/#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":"12+ CSS Border Animation Examples"}]},{"@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":1339,"_links":{"self":[{"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/posts\/10091","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=10091"}],"version-history":[{"count":0,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/posts\/10091\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/media\/10099"}],"wp:attachment":[{"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/media?parent=10091"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/categories?post=10091"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/tags?post=10091"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}