{"id":10216,"date":"2024-01-10T18:17:00","date_gmt":"2024-01-10T18:17:00","guid":{"rendered":"https:\/\/codehim.com\/?p=10216"},"modified":"2024-01-22T16:18:09","modified_gmt":"2024-01-22T11:18:09","slug":"pure-css-cube-box-animation-on-hover","status":"publish","type":"post","link":"https:\/\/codehim.com\/html5-css3\/pure-css-cube-box-animation-on-hover\/","title":{"rendered":"Pure CSS Cube Box Animation On Hover"},"content":{"rendered":"<p>This Pure CSS code snippet helps you to create a cube box animation on hover. It generates rotating cube-like structures that animate upon hover. The cubes act as links, enhancing user interaction and engagement.<\/p>\n<p>You can use this code on your website for interactive elements. It&#8217;s great for showcasing links with engaging hover effects, enhancing user experience.<\/p>\n<h2>How to Create Pure CSS Cube Box Animation On Hover<\/h2>\n<p>1. First of all, load Reset CSS 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\/meyer-reset\/2.0\/reset.min.css\"&gt;\r\n<\/pre>\n<p>2. In your HTML file, create a structure for the cubes using unordered lists (<code>&lt;ul&gt;<\/code>) and list items (<code>&lt;li&gt;<\/code>). Each cube will contain anchor tags (<code>&lt;a&gt;<\/code>) that serve as links.<\/p>\n<p>Adjust the <code>href<\/code> attribute in the anchor tags to link to your desired URLs. You can modify the number of cubes and their arrangement by altering the HTML and adjusting the CSS accordingly.<\/p>\n<pre class=\"prettyprint linenums lang-html\">&lt;ul ontouchstart&gt;\r\n  &lt;li&gt;\r\n    &lt;div class='link'&gt;\r\n      &lt;a href='https:\/\/codepen.io\/gabriellewee' target='_blank'&gt;&lt;\/a&gt;\r\n      &lt;a href='https:\/\/codepen.io\/gabriellewee' target='_blank'&gt;&lt;\/a&gt;\r\n      &lt;a href='https:\/\/codepen.io\/gabriellewee' target='_blank'&gt;&lt;\/a&gt;\r\n      &lt;a href='https:\/\/codepen.io\/gabriellewee' target='_blank'&gt;&lt;\/a&gt;\r\n      &lt;div class='cube codepen'&gt;\r\n        &lt;div&gt;&lt;\/div&gt;\r\n        &lt;div&gt;&lt;\/div&gt;\r\n        &lt;div&gt;&lt;\/div&gt;\r\n        &lt;div&gt;&lt;\/div&gt;\r\n        &lt;div&gt;\r\n          &lt;svg viewbox='0 0 85 85'&gt;\r\n            &lt;path d='M82.5,29.1666667 L42.5,2.5 L2.5,29.1666667 L2.5,55.8922001 L42.5,82.5 L82.5,55.8922001 L82.5,29.1666667 Z M42.5,2.9120677 L42.5,29.1666667 L42.5,2.9120677 Z M42.5,55.8922001 L42.5,82.5 L42.5,55.8922001 Z M2.5,29.1666667 L2.5,55.8922001 L42.5,29.1666667 L82.5,55.8922001 L82.5,29.1666667 L42.5,55.8922001 L2.5,29.1666667 Z'&gt;&lt;\/path&gt;\r\n          &lt;\/svg&gt;\r\n        &lt;\/div&gt;\r\n        &lt;div&gt;\/gabriellewee&lt;\/div&gt;\r\n      &lt;\/div&gt;\r\n    &lt;\/div&gt;\r\n  &lt;\/li&gt;\r\n  &lt;li&gt;\r\n    &lt;div class='link'&gt;\r\n      &lt;a href='https:\/\/github.com\/gabriellewee' target='_blank'&gt;&lt;\/a&gt;\r\n      &lt;a href='https:\/\/github.com\/gabriellewee' target='_blank'&gt;&lt;\/a&gt;\r\n      &lt;a href='https:\/\/github.com\/gabriellewee' target='_blank'&gt;&lt;\/a&gt;\r\n      &lt;a href='https:\/\/github.com\/gabriellewee' target='_blank'&gt;&lt;\/a&gt;\r\n      &lt;div class='cube github'&gt;\r\n        &lt;div&gt;&lt;\/div&gt;\r\n        &lt;div&gt;&lt;\/div&gt;\r\n        &lt;div&gt;&lt;\/div&gt;\r\n        &lt;div&gt;&lt;\/div&gt;\r\n        &lt;div&gt;\r\n          &lt;svg viewbox='0 0 85 85'&gt;\r\n            &lt;path class='fill' d='M76.7 19c1.1-4.8 0.6-10.1-1.6-15 -0.7-1.7-2.3-2.9-4.2-3 -0.5-0.1-1.1-0.1-1.6-0.1 -4.6 0-10.7 1.6-15 5C50.4 5 46.4 4.6 42.5 4.6V4.4c-3.9 0-7.9 0.4-11.8 1.3 -4.3-3.4-10.4-5-15-5 -0.5 0-1.1 0-1.6 0.1 -1.9 0.1-3.5 1.3-4.2 3C7.7 8.7 7.2 14 8.3 18.8c-3.3 4.4-5 9.6-5 15.4 0 12.5 4.2 21.4 12.5 26.4 2.6 1.6 5.6 2.9 9 3.7 -0.6 1.7-0.9 3.7-0.9 6.1v11.2h0c0 1.4 1.1 2.5 2.5 2.5s2.5-1.1 2.5-2.5l0-11c0-4.5 1.5-7.7 4.5-9.7 -1.5-0.1-3.2-0.3-5.2-0.8 -3.8-0.7-7-1.9-9.7-3.6C11.6 52.4 8.3 45.1 8.3 34.4c0-5.6 1.9-10.3 5.6-14.3 -1.7-4.4-1.4-9.6 0.6-14.3 0.4 0 0.8 0 1.2 0 4.9 0 10.8 2.2 13.5 5.5 4.5-1.2 9-1.8 13.3-1.8v0.1c4.3 0 8.8 0.6 13.3 1.8 2.7-3.3 8.6-5.5 13.5-5.5 0.4 0 0.8 0 1.2 0 2 4.7 2.3 9.9 0.6 14.3 3.7 4 5.6 8.7 5.6 14.3 0 10.7-3.3 18-10.2 22.2 -2.7 1.7-5.9 2.9-9.7 3.6 -2 0.5-3.7 0.7-5.2 0.8 3 2 4.5 5.2 4.5 9.7l0 11c0 1.4 1.1 2.5 2.5 2.5s2.5-1.1 2.5-2.5h0V70.6c0-2.4-0.3-4.4-0.9-6.1 3.4-0.8 6.4-2.1 9-3.7 8.3-5 12.5-13.9 12.5-26.4C81.7 28.6 80 23.4 76.7 19z'&gt;&lt;\/path&gt;\r\n          &lt;\/svg&gt;\r\n        &lt;\/div&gt;\r\n        &lt;div&gt;\/gabriellewee&lt;\/div&gt;\r\n      &lt;\/div&gt;\r\n    &lt;\/div&gt;\r\n  &lt;\/li&gt;\r\n&lt;\/ul&gt;\r\n&lt;svg class='clips' viewbox='0 0 0 0' xmlns='http:\/\/www.w3.org\/2000\/svg'&gt;\r\n  &lt;defs&gt;\r\n    &lt;clippath id='clip-right'&gt;\r\n      &lt;polygon id='right' points='48 0 48 96 0 48'&gt;&lt;\/polygon&gt;\r\n    &lt;\/clippath&gt;\r\n    &lt;clippath id='clip-left'&gt;\r\n      &lt;polygon id='left' points='0 0 0 96 48 48'&gt;&lt;\/polygon&gt;\r\n    &lt;\/clippath&gt;\r\n    &lt;clippath id='clip-bottom'&gt;\r\n      &lt;polygon id='bottom' points='96 48 0 48 48 0'&gt;&lt;\/polygon&gt;\r\n    &lt;\/clippath&gt;\r\n    &lt;clippath id='clip-top'&gt;\r\n      &lt;polygon id='top' points='0 0 96 0 48 48'&gt;&lt;\/polygon&gt;\r\n    &lt;\/clippath&gt;\r\n  &lt;\/defs&gt;\r\n&lt;\/svg&gt;\r\n<\/pre>\n<p>3. Paste the following CSS code into your stylesheet or within <code>&lt;style&gt;<\/code> tags in the HTML file. This CSS contains styles for the cubes, links, hover effects, and animations.<\/p>\n<pre class=\"prettyprint linenums lang-css\">*, *:before, *:after {\r\n  box-sizing: border-box;\r\n}\r\n\r\n* {\r\n  -webkit-user-select: none;\r\n     -moz-user-select: none;\r\n      -ms-user-select: none;\r\n          user-select: none;\r\n  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\r\n  transform-style: preserve-3d;\r\n}\r\n\r\n*:focus {\r\n  outline: none !important;\r\n}\r\n\r\nbody, html {\r\n  height: 100%;\r\n}\r\n\r\nbody {\r\n  display: flex;\r\n  align-items: center;\r\n  align-content: center;\r\n  justify-content: center;\r\n  padding: 12px;\r\n  background: #84c7a7;\r\n  background: linear-gradient(135deg, #3023ae 0%, #53a0fe 50%, #b4ed50 100%);\r\n  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr=\"$indigo\", endColorstr=\"$lime\",GradientType=1 );\r\n  font-family: \"brandon-grotesque\", \"Brandon Grotesque\", \"Source Sans Pro\", \"Segoe UI\", Frutiger, \"Frutiger Linotype\", \"Dejavu Sans\", \"Helvetica Neue\", Arial, sans-serif;\r\n  text-rendering: optimizeLegibility;\r\n  -webkit-font-smoothing: antialiased;\r\n}\r\n\r\nul {\r\n  perspective: 1000px;\r\n  transform: translateZ(96px);\r\n  display: flex;\r\n  list-style: none;\r\n  margin: 0;\r\n  padding: 12px;\r\n}\r\nul li {\r\n  padding: 12px;\r\n}\r\n\r\n.clips {\r\n  position: absolute;\r\n  top: 0;\r\n  left: 0;\r\n  width: 0;\r\n  height: 0;\r\n  opacity: 0;\r\n  z-index: -100;\r\n}\r\n\r\n.link {\r\n  position: relative;\r\n  width: 96px;\r\n  height: 96px;\r\n}\r\n.link a {\r\n  transform-origin: 48px 48px -48px;\r\n  display: block;\r\n  position: absolute;\r\n  z-index: 1;\r\n  transform: translateZ(24px);\r\n  width: 100%;\r\n  height: 100%;\r\n}\r\n.link a:nth-child(1) {\r\n  top: 0;\r\n  left: 0;\r\n  height: 50%;\r\n  -webkit-clip-path: polygon(50% 100%, 0 0, 100% 0);\r\n          clip-path: polygon(50% 100%, 0 0, 100% 0);\r\n}\r\n@-moz-document url-prefix() {\r\n  .link a:nth-child(1) {\r\n    clip-path: url(#clip-top);\r\n  }\r\n}\r\n.link a:nth-child(1):hover ~ .cube, .link a:nth-child(1):focus ~ .cube {\r\n  transform: rotateX(-0.5turn);\r\n}\r\n.link a:nth-child(1):hover ~ .cube div:nth-child(6), .link a:nth-child(1):focus ~ .cube div:nth-child(6) {\r\n  transform: rotateY(180deg) rotateZ(180deg) translateZ(96px);\r\n}\r\n.link a:nth-child(2) {\r\n  top: 0;\r\n  right: 0;\r\n  width: 50%;\r\n  -webkit-clip-path: polygon(100% 100%, 0 50%, 100% 0);\r\n          clip-path: polygon(100% 100%, 0 50%, 100% 0);\r\n}\r\n@-moz-document url-prefix() {\r\n  .link a:nth-child(2) {\r\n    clip-path: url(#clip-right);\r\n  }\r\n}\r\n.link a:nth-child(2):hover ~ .cube, .link a:nth-child(2):focus ~ .cube {\r\n  transform: rotateY(-0.5turn);\r\n}\r\n.link a:nth-child(3) {\r\n  bottom: 0;\r\n  right: 0;\r\n  height: 50%;\r\n  -webkit-clip-path: polygon(0 100%, 50% 0, 100% 100%);\r\n          clip-path: polygon(0 100%, 50% 0, 100% 100%);\r\n}\r\n@-moz-document url-prefix() {\r\n  .link a:nth-child(3) {\r\n    clip-path: url(#clip-bottom);\r\n  }\r\n}\r\n.link a:nth-child(3):hover ~ .cube, .link a:nth-child(3):focus ~ .cube {\r\n  transform: rotateX(0.5turn);\r\n}\r\n.link a:nth-child(3):hover ~ .cube div:nth-child(6), .link a:nth-child(3):focus ~ .cube div:nth-child(6) {\r\n  transform: rotateY(180deg) rotateZ(180deg) translateZ(96px);\r\n}\r\n.link a:nth-child(4) {\r\n  bottom: 0;\r\n  left: 0;\r\n  width: 50%;\r\n  -webkit-clip-path: polygon(0 100%, 0 0, 100% 50%);\r\n          clip-path: polygon(0 100%, 0 0, 100% 50%);\r\n}\r\n@-moz-document url-prefix() {\r\n  .link a:nth-child(4) {\r\n    clip-path: url(#clip-left);\r\n  }\r\n}\r\n.link a:nth-child(4):hover ~ .cube, .link a:nth-child(4):focus ~ .cube {\r\n  transform: rotateY(0.5turn);\r\n}\r\n.link a:nth-child(1):hover, .link a:nth-child(1):focus, .link a:nth-child(2):hover, .link a:nth-child(2):focus, .link a:nth-child(3):hover, .link a:nth-child(3):focus, .link a:nth-child(4):hover, .link a:nth-child(4):focus {\r\n  z-index: 2;\r\n  transform: translateZ(36px);\r\n  width: 100% !important;\r\n  height: 100% !important;\r\n  -webkit-clip-path: none !important;\r\n  clip-path: none !important;\r\n  transition: all 100ms ease 500ms;\r\n}\r\n\r\n.cube {\r\n  transform-origin: 48px 48px -48px;\r\n  position: relative;\r\n  z-index: 0;\r\n  display: block;\r\n  width: 100%;\r\n  height: 100%;\r\n  transition: all 300ms ease-out;\r\n}\r\n.cube div {\r\n  display: flex;\r\n  align-items: center;\r\n  align-content: center;\r\n  justify-content: center;\r\n  position: absolute;\r\n  top: 0;\r\n  left: 0;\r\n  width: 100%;\r\n  height: 100%;\r\n  color: white;\r\n}\r\n.cube div svg {\r\n  width: 48px;\r\n  height: 48px;\r\n}\r\n.cube div svg path:not(.fill) {\r\n  fill: none;\r\n  stroke: white;\r\n  stroke-width: 5px;\r\n  stroke-linecap: round;\r\n  stroke-linejoin: round;\r\n}\r\n.cube div svg path.fill {\r\n  fill: white;\r\n}\r\n.cube div:nth-child(1) {\r\n  transform-origin: center top;\r\n  transform: rotateX(90deg) translateY(-96px);\r\n}\r\n.cube div:nth-child(2) {\r\n  transform-origin: center bottom;\r\n  transform: rotateX(-90deg) translateY(96px);\r\n}\r\n.cube div:nth-child(3) {\r\n  transform-origin: left center;\r\n  transform: rotateY(-90deg) translateX(-96px);\r\n}\r\n.cube div:nth-child(4) {\r\n  transform-origin: right center;\r\n  transform: rotateY(90deg) translateX(96px);\r\n}\r\n.cube div:nth-child(5) {\r\n  transform-origin: center center;\r\n  transform: rotateX(0);\r\n}\r\n.cube div:nth-child(6) {\r\n  transform-origin: center center;\r\n  transform: rotateY(180deg) translateZ(96px);\r\n}\r\n.cube.codepen div:nth-child(1) {\r\n  background: #fff1b0;\r\n}\r\n.cube.codepen div:nth-child(2) {\r\n  background: #ffdb30;\r\n}\r\n.cube.codepen div:nth-child(3) {\r\n  background: #ffe463;\r\n}\r\n.cube.codepen div:nth-child(4) {\r\n  background: #ffe463;\r\n}\r\n.cube.codepen div:nth-child(5) {\r\n  background: #fcd000;\r\n}\r\n.cube.codepen div:nth-child(6) {\r\n  background: white;\r\n  color: #fcd000;\r\n}\r\n.cube.github div:nth-child(1) {\r\n  background: #c9dcee;\r\n}\r\n.cube.github div:nth-child(2) {\r\n  background: #689cd0;\r\n}\r\n.cube.github div:nth-child(3) {\r\n  background: #8fb6dc;\r\n}\r\n.cube.github div:nth-child(4) {\r\n  background: #8fb6dc;\r\n}\r\n.cube.github div:nth-child(5) {\r\n  background: #4183c4;\r\n}\r\n.cube.github div:nth-child(6) {\r\n  background: white;\r\n  color: #4183c4;\r\n}<\/pre>\n<p>Remember to customize the code by adjusting the number of cubes, modifying links, and incorporating your design elements to fit seamlessly into your website.<\/p>\n<p>That&#8217;s all! hopefully, you have successfully created a cube box animation on hover. If you have any questions or suggestions, feel free to comment below.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This Pure CSS code snippet helps you to create a cube box animation on hover. It generates rotating cube-like structures&#8230;<\/p>\n","protected":false},"author":1,"featured_media":10229,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[63],"tags":[],"class_list":["post-10216","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>Pure CSS Cube Box Animation On Hover &#8212; CodeHim<\/title>\n<meta name=\"description\" content=\"Here is a free code snippet to create a Pure CSS Cube Box Animation On Hover. 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\/pure-css-cube-box-animation-on-hover\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Pure CSS Cube Box Animation On Hover &#8212; CodeHim\" \/>\n<meta property=\"og:description\" content=\"Here is a free code snippet to create a Pure CSS Cube Box Animation On Hover. You can view demo and download the source code.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/codehim.com\/html5-css3\/pure-css-cube-box-animation-on-hover\/\" \/>\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:18:09+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/codehim.com\/wp-content\/uploads\/2023\/12\/Pure-CSS-Cube-Box-Animation-On-Hover.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=\"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\/pure-css-cube-box-animation-on-hover\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/codehim.com\/html5-css3\/pure-css-cube-box-animation-on-hover\/\"},\"author\":{\"name\":\"Asif Mughal\",\"@id\":\"https:\/\/codehim.com\/#\/schema\/person\/cc48f1dbe072a89a62a98171b7db43ed\"},\"headline\":\"Pure CSS Cube Box Animation On Hover\",\"datePublished\":\"2024-01-10T18:17:00+00:00\",\"dateModified\":\"2024-01-22T11:18:09+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/codehim.com\/html5-css3\/pure-css-cube-box-animation-on-hover\/\"},\"wordCount\":230,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/codehim.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/codehim.com\/html5-css3\/pure-css-cube-box-animation-on-hover\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/codehim.com\/wp-content\/uploads\/2023\/12\/Pure-CSS-Cube-Box-Animation-On-Hover.png\",\"articleSection\":[\"HTML5 &amp; CSS3\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/codehim.com\/html5-css3\/pure-css-cube-box-animation-on-hover\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/codehim.com\/html5-css3\/pure-css-cube-box-animation-on-hover\/\",\"url\":\"https:\/\/codehim.com\/html5-css3\/pure-css-cube-box-animation-on-hover\/\",\"name\":\"Pure CSS Cube Box Animation On Hover &#8212; CodeHim\",\"isPartOf\":{\"@id\":\"https:\/\/codehim.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/codehim.com\/html5-css3\/pure-css-cube-box-animation-on-hover\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/codehim.com\/html5-css3\/pure-css-cube-box-animation-on-hover\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/codehim.com\/wp-content\/uploads\/2023\/12\/Pure-CSS-Cube-Box-Animation-On-Hover.png\",\"datePublished\":\"2024-01-10T18:17:00+00:00\",\"dateModified\":\"2024-01-22T11:18:09+00:00\",\"description\":\"Here is a free code snippet to create a Pure CSS Cube Box Animation On Hover. You can view demo and download the source code.\",\"breadcrumb\":{\"@id\":\"https:\/\/codehim.com\/html5-css3\/pure-css-cube-box-animation-on-hover\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/codehim.com\/html5-css3\/pure-css-cube-box-animation-on-hover\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/codehim.com\/html5-css3\/pure-css-cube-box-animation-on-hover\/#primaryimage\",\"url\":\"https:\/\/codehim.com\/wp-content\/uploads\/2023\/12\/Pure-CSS-Cube-Box-Animation-On-Hover.png\",\"contentUrl\":\"https:\/\/codehim.com\/wp-content\/uploads\/2023\/12\/Pure-CSS-Cube-Box-Animation-On-Hover.png\",\"width\":1280,\"height\":960,\"caption\":\"Pure CSS Cube Box Animation On Hover\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/codehim.com\/html5-css3\/pure-css-cube-box-animation-on-hover\/#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\":\"Pure CSS Cube Box Animation On Hover\"}]},{\"@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":"Pure CSS Cube Box Animation On Hover &#8212; CodeHim","description":"Here is a free code snippet to create a Pure CSS Cube Box Animation On Hover. 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\/pure-css-cube-box-animation-on-hover\/","og_locale":"en_US","og_type":"article","og_title":"Pure CSS Cube Box Animation On Hover &#8212; CodeHim","og_description":"Here is a free code snippet to create a Pure CSS Cube Box Animation On Hover. You can view demo and download the source code.","og_url":"https:\/\/codehim.com\/html5-css3\/pure-css-cube-box-animation-on-hover\/","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:18:09+00:00","og_image":[{"width":1280,"height":960,"url":"https:\/\/codehim.com\/wp-content\/uploads\/2023\/12\/Pure-CSS-Cube-Box-Animation-On-Hover.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\/pure-css-cube-box-animation-on-hover\/#article","isPartOf":{"@id":"https:\/\/codehim.com\/html5-css3\/pure-css-cube-box-animation-on-hover\/"},"author":{"name":"Asif Mughal","@id":"https:\/\/codehim.com\/#\/schema\/person\/cc48f1dbe072a89a62a98171b7db43ed"},"headline":"Pure CSS Cube Box Animation On Hover","datePublished":"2024-01-10T18:17:00+00:00","dateModified":"2024-01-22T11:18:09+00:00","mainEntityOfPage":{"@id":"https:\/\/codehim.com\/html5-css3\/pure-css-cube-box-animation-on-hover\/"},"wordCount":230,"commentCount":0,"publisher":{"@id":"https:\/\/codehim.com\/#organization"},"image":{"@id":"https:\/\/codehim.com\/html5-css3\/pure-css-cube-box-animation-on-hover\/#primaryimage"},"thumbnailUrl":"https:\/\/codehim.com\/wp-content\/uploads\/2023\/12\/Pure-CSS-Cube-Box-Animation-On-Hover.png","articleSection":["HTML5 &amp; CSS3"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/codehim.com\/html5-css3\/pure-css-cube-box-animation-on-hover\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/codehim.com\/html5-css3\/pure-css-cube-box-animation-on-hover\/","url":"https:\/\/codehim.com\/html5-css3\/pure-css-cube-box-animation-on-hover\/","name":"Pure CSS Cube Box Animation On Hover &#8212; CodeHim","isPartOf":{"@id":"https:\/\/codehim.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/codehim.com\/html5-css3\/pure-css-cube-box-animation-on-hover\/#primaryimage"},"image":{"@id":"https:\/\/codehim.com\/html5-css3\/pure-css-cube-box-animation-on-hover\/#primaryimage"},"thumbnailUrl":"https:\/\/codehim.com\/wp-content\/uploads\/2023\/12\/Pure-CSS-Cube-Box-Animation-On-Hover.png","datePublished":"2024-01-10T18:17:00+00:00","dateModified":"2024-01-22T11:18:09+00:00","description":"Here is a free code snippet to create a Pure CSS Cube Box Animation On Hover. You can view demo and download the source code.","breadcrumb":{"@id":"https:\/\/codehim.com\/html5-css3\/pure-css-cube-box-animation-on-hover\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/codehim.com\/html5-css3\/pure-css-cube-box-animation-on-hover\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/codehim.com\/html5-css3\/pure-css-cube-box-animation-on-hover\/#primaryimage","url":"https:\/\/codehim.com\/wp-content\/uploads\/2023\/12\/Pure-CSS-Cube-Box-Animation-On-Hover.png","contentUrl":"https:\/\/codehim.com\/wp-content\/uploads\/2023\/12\/Pure-CSS-Cube-Box-Animation-On-Hover.png","width":1280,"height":960,"caption":"Pure CSS Cube Box Animation On Hover"},{"@type":"BreadcrumbList","@id":"https:\/\/codehim.com\/html5-css3\/pure-css-cube-box-animation-on-hover\/#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":"Pure CSS Cube Box Animation On Hover"}]},{"@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":915,"_links":{"self":[{"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/posts\/10216","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=10216"}],"version-history":[{"count":0,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/posts\/10216\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/media\/10229"}],"wp:attachment":[{"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/media?parent=10216"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/categories?post=10216"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/tags?post=10216"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}