{"id":4944,"date":"2020-01-07T16:24:22","date_gmt":"2020-01-07T16:24:22","guid":{"rendered":"https:\/\/webdevtrick.com\/?p=4944"},"modified":"2020-01-07T16:24:22","modified_gmt":"2020-01-07T16:24:22","slug":"rotating-cuboid-form","status":"publish","type":"post","link":"https:\/\/webdevtrick.com\/rotating-cuboid-form\/","title":{"rendered":"Rotating Cuboid Form With CSS and JavaScript | Rotate Cube Fields"},"content":{"rendered":"<p><strong>How we can create a single box rotate form using HTML CSS JS? Solution: Check out this Rotating Cuboid Form With CSS and JavaScript, Rotate Cube Fields.<\/strong><\/p>\n<p>Previously I have shared many <span><a href=\"https:\/\/webdevtrick.com\/tag\/form\" target=\"_blank\" rel=\"noopener noreferrer\">form<\/a><\/span> programs, but this is a <strong>rotating cube form<\/strong>. Basically, we use the form in websites to collecting or checking user&#8217;s data, which could be personal details, bank details, interest, or anything else. And commonly form take an area and show all the<strong> fields<\/strong> on a single page, some show partly in a <span><a href=\"https:\/\/webdevtrick.com\/tag\/multi-step\/\" target=\"_blank\" rel=\"noopener noreferrer\">multi-step<\/a><\/span> form. But this unique form with a single box and button, after filling details and pressing the next button the box will rotate like a <strong>cuboid<\/strong> and reveal another field.<\/p>\n<p>Today you will learn to create <strong>Rotate Cube Fields<\/strong> as a form. Basically, there is a <strong>rectangular box<\/strong> with a button on the right side actually, the box is an <strong>input field<\/strong> with a <strong>placeholder<\/strong> and the button is to submit or go next. When you will put characters in the box and click on the button, then the box will rotate like a <span><a href=\"https:\/\/webdevtrick.com\/tag\/3d\" target=\"_blank\" rel=\"noopener noreferrer\">3D<\/a><\/span> cube and reveal another field. There are 5 input fields for name, email, country, state, and number. Also, There is counting text in the top of the box, for indicating the <strong>process<\/strong>.<\/p>\n<p>So, Today I am sharing <strong>Rotating Cuboid Form<\/strong> With <strong>CSS and JavaScript<\/strong>. There I have used CSS for creating the elements and JavaScript for a little bit functioning. There I have not used jQuery or any other JS library, this is a <strong>pure JavaScript and CSS<\/strong> program. You can create it a lot better after modification, also you can use it on your website or project.<\/p>\n<p>If you are thinking now how this <strong>3D cube<\/strong> form actually is, then see the preview given below.<\/p>\n<h3>Preview Of Rotate 3D Cube Input Fields<\/h3>\n<p>See this video preview to getting an idea of how this cuboid form looks like.<\/p>\n<div style=\"width: 640px;\" class=\"wp-video\"><video class=\"wp-video-shortcode\" id=\"video-4944-1\" width=\"640\" height=\"417\" loop autoplay preload=\"metadata\" controls=\"controls\"><source type=\"video\/mp4\" src=\"https:\/\/webdevtrick.com\/wp-content\/uploads\/cuboid-form.mp4?_=1\" \/><a href=\"https:\/\/webdevtrick.com\/wp-content\/uploads\/cuboid-form.mp4\">https:\/\/webdevtrick.com\/wp-content\/uploads\/cuboid-form.mp4<\/a><\/video><\/div>\n<a class=\"maxbutton-2 maxbutton maxbutton-demo\" target=\"_blank\" rel=\"noopener\" href=\"https:\/\/webdevtrick.com\/demos\/rotating-cuboid-form\/\"><span class='mb-text'>Live Demo<\/span><\/a>\n<p>Now you can see this visually, also you can see it live by pressing the button given above. If you like this, then get the <strong>source code<\/strong> of its.<\/p>\n<p><span style=\"font-size: 14pt;\">You May Also Like:<\/span><\/p>\n<ul>\n \t<span><\/p>\n<li><a href=\"https:\/\/webdevtrick.com\/push-to-hide-password-input\/\" target=\"_blank\" rel=\"noopener noreferrer\">Push To Hide Password<\/a><\/li>\n<li><a href=\"https:\/\/webdevtrick.com\/css-moving-input-focus-effect\/\" target=\"_blank\" rel=\"noopener noreferrer\">Moving Input Focus<\/a><\/li>\n<li><a href=\"https:\/\/webdevtrick.com\/css-text-underline-hover-effect\/\" target=\"_blank\" rel=\"noopener noreferrer\">Text Underline Hover Effect<\/a><\/li>\n<li><a href=\"https:\/\/webdevtrick.com\/jquery-captcha-program\/\" target=\"_blank\" rel=\"noopener noreferrer\">jQuery Captcha Program<\/a><\/li>\n<p><\/span>\n<\/ul>\n<h2>Rotating Cuboid Form With CSS and JavaScript Source Code<\/h2>\n<p>Before <strong>sharing source code<\/strong>, let&#8217;s talk about it. First I have created a main div named container, and placed div sets with <strong>inputs<\/strong> inside it. Inside a div, I have placed an <span><a href=\"https:\/\/webdevtrick.com\/tag\/input\" target=\"_blank\" rel=\"noopener noreferrer\"> input<\/a><\/span> and another div for the button. Also, I have created extra divs for other elements like <strong>progress text<\/strong>, and end welcome button. In the <strong>HTML file<\/strong>, I have linked other files like CSS and JS.<\/p>\n<p>Now using CSS I have placed all the elements in the right place, as you can see in the preview. There I have used CSS <span class=\"lang:default decode:true crayon-inline \">transform-style: preserve-3d;<\/span> command in every element using <strong>selector<\/strong> method. I have done basic works like position, size, margin, padding, etc. Also, I have used other command like <span class=\"lang:default decode:true crayon-inline \">perspective<\/span> and <span class=\"lang:default decode:true crayon-inline \">transform<\/span> for 3D rotating cube.<\/p>\n<p>JavaScript handling here next, <span><a href=\"https:\/\/webdevtrick.com\/tag\/progress-bar\" target=\"_blank\" rel=\"noopener noreferrer\">progress<\/a><\/span> features in the program. There I have used JS <span class=\"lang:default decode:true crayon-inline \">if{} else{}<\/span> commands and also used for loop to run the function till the end of inputs. Left all other things you will understand after <strong>getting the codes<\/strong>, I can&#8217;t explain all in writing. For creating this program you have to create 3 files. First for <strong>HTML<\/strong>, second for <strong>CSS<\/strong>, and the third file for <strong>JavaScript<\/strong>. Follow the steps to creating this without any error.<\/p>\n<p><span style=\"font-size: 14pt;\">index.html<\/span><\/p>\n<p>Create an HTML file named &#8216;<em><strong>index.html<\/strong><\/em>&#8216; and put these codes given below.<\/p>\n<pre class=\"height-set:true height:750 lang:xhtml decode:true \" title=\"index.html\">&lt;!DOCTYPE html&gt;\r\n&lt;!-- Code By Webdevtrick ( https:\/\/webdevtrick.com ) --&gt;\r\n&lt;html lang=\"en\" &gt;\r\n&lt;head&gt;\r\n  &lt;meta charset=\"UTF-8\"&gt;\r\n  &lt;title&gt;Rotating Cuboid Form | Webdevtrick.com&lt;\/title&gt;\r\n  &lt;meta name=\"viewport\" content=\"width=device-width, initial-scale=1\"&gt;\r\n  &lt;link rel=\"stylesheet\" href=\"style.css\"&gt;\r\n\r\n&lt;\/head&gt;\r\n&lt;body&gt;\r\n\r\n&lt;div class=\"container\"&gt;\r\n    &lt;div class=\"progress\"&gt;0\/5 COMPLETED.&lt;\/div&gt;\r\n    &lt;div class=\"group dua\"&gt;\r\n        &lt;input placeholder=\"Name\" required\/&gt;&lt;div class=\"button\"&gt;&lt;\/div&gt;\r\n    &lt;\/div&gt;&lt;div class=\"group tiga\"&gt;\r\n        &lt;input placeholder=\"Business Email\" type=\"email\" required \/&gt;&lt;div class=\"button\"&gt;&lt;\/div&gt;\r\n    &lt;\/div&gt;&lt;div class=\"group tiga\"&gt;\r\n        &lt;input placeholder=\"Country\" required \/&gt;&lt;div class=\"button\"&gt;&lt;\/div&gt;\r\n    &lt;\/div&gt;&lt;div class=\"group tiga\"&gt;\r\n        &lt;input placeholder=\"State\" required \/&gt;&lt;div class=\"button\"&gt;&lt;\/div&gt;\r\n    &lt;\/div&gt;&lt;div class=\"group tiga\"&gt;\r\n        &lt;input type=\"tel\" placeholder=\"Phone\" required \/&gt;&lt;div class=\"button\"&gt;&lt;\/div&gt;\r\n    &lt;\/div&gt;&lt;div class=\"group tiga\"&gt;&lt;div class=\"done\"&gt;Welcome \u203a&lt;\/div&gt;&lt;\/div&gt;\r\n&lt;\/div&gt;\r\n\r\n&lt;script  src=\"function.js\"&gt;&lt;\/script&gt;\r\n\r\n&lt;\/body&gt;\r\n&lt;\/html&gt;<\/pre>\n<p><span style=\"font-size: 14pt;\">style.css<\/span><\/p>\n<p>Now create a CSS file named &#8216;<em><strong>style.css<\/strong><\/em>&#8216; and put the codes given below.<\/p>\n<pre class=\"height-set:true height:750 lang:css decode:true\" title=\"style.css\">\/* Code By Webdevtrick ( https:\/\/webdevtrick.com ) *\/\r\n@import url(\"https:\/\/fonts.googleapis.com\/css?family=Roboto+Slab:200\");\r\n* {\r\n    margin: 0;\r\n    padding: 0;\r\n    box-sizing: border-box;\r\n    border: 0;\r\n    -webkit-transform-style: preserve-3d;\r\n            transform-style: preserve-3d;\r\n    font-family: \"Roboto Slab\", sans-serif;\r\n}\r\n*:focus {\r\n    outline: 0;\r\n}\r\nbody {\r\n    background: #f24c5e;\r\n}\r\n.container,\r\ninput,\r\n.button,\r\n.group,\r\n.button:after,\r\n.done {\r\n    height: 60px;\r\n}\r\n.container,\r\n.group {\r\n    width: 360px;\r\n}\r\n.container {\r\n    margin: calc(50vh - 30px) 0 0 calc(50vw - 180px);\r\n    -webkit-perspective: 500px;\r\n            perspective: 500px;\r\n}\r\n.group,\r\n.button:after {\r\n    position: absolute;\r\n    top: 0;\r\n    left: 0;\r\n}\r\ninput,\r\n.button {\r\n    display: inline-block;\r\n    vertical-align: top;\r\n}\r\ninput {\r\n    width: 300px;\r\n    background: white;\r\n    padding: 20px;\r\n    font-size: 18px;\r\n    color: #212121;\r\n}\r\ninput::-webkit-input-placeholder {\r\n    color: silver;\r\n}\r\ninput:-ms-input-placeholder {\r\n    color: silver;\r\n}\r\ninput::-ms-input-placeholder {\r\n    color: silver;\r\n}\r\ninput::placeholder {\r\n    color: silver;\r\n}\r\n.button,\r\n.button:after {\r\n    width: 60px;\r\n}\r\n\r\n.button,\r\n.done {\r\n    cursor: pointer;\r\n    background: #E0E0E0;\r\n    transition: background 0.5s;\r\n}\r\n.button.valid,\r\n.done {\r\n    background-image: linear-gradient(135deg, #5cb85c 10%, #f8d23c 100%);\r\n}\r\n.button:not(.valid):hover {\r\n    background: #FF5252;\r\n}\r\n.button:after {\r\n    content: \"\";\r\n    background-image: url(\"data:image\/svg+xml;charset=UTF-8,%3csvg xmlns='http:\/\/www.w3.org\/2000\/svg' width='40' height='40' viewBox='0 0 24 24'%3e%3cpath fill='white' d='M7.41 8.59L12 13.17l4.59-4.58L18 10l-6 6-6-6 1.41-1.41z'\/%3e%3c\/svg%3e\");\r\n    background-position: 50% 50%;\r\n    background-repeat: no-repeat;\r\n}\r\n.button.valid:after {\r\n    -webkit-animation: a infinite 1s;\r\n            animation: a infinite 1s;\r\n}\r\n.group:nth-last-of-type(2) .button:after {\r\n    background-image: url(\"data:image\/svg+xml;charset=UTF-8,%3csvg xmlns='http:\/\/www.w3.org\/2000\/svg' width='30' height='30' viewBox='0 0 24 24'%3e%3cpath fill='white' d='M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z'\/%3e%3c\/svg%3e\");\r\n}\r\n.button:not(.valid):hover:after {\r\n    background-image: url(\"data:image\/svg+xml;charset=UTF-8,%3csvg xmlns='http:\/\/www.w3.org\/2000\/svg' width='24' height='24' viewBox='0 0 24 24'%3e%3cpath fill='white' d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z'\/%3e%3c\/svg%3e\");\r\n}\r\n.done {\r\n    color: white;\r\n    padding: 19px;\r\n    text-align: center;\r\n}\r\n.satu {\r\n    -webkit-transform: rotateX(90deg) translateY(-30px) translateZ(30px);\r\n            transform: rotateX(90deg) translateY(-30px) translateZ(30px);\r\n    opacity: 0;\r\n    transition: box-shadow 0.5s, opacity 0.7s 0.3s, -webkit-transform 1s;\r\n    transition: transform 1s, box-shadow 0.5s, opacity 0.7s 0.3s;\r\n    transition: transform 1s, box-shadow 0.5s, opacity 0.7s 0.3s, -webkit-transform 1s;\r\n}\r\n.dua {\r\n    -webkit-transform: none;\r\n            transform: none;\r\n    box-shadow: 0 30px 40px rgba(0, 0, 0, 0.15);\r\n    transition: box-shadow 0.5s 0.5s, opacity 0.7s, -webkit-transform 1s;\r\n    transition: transform 1s, box-shadow 0.5s 0.5s, opacity 0.7s;\r\n    transition: transform 1s, box-shadow 0.5s 0.5s, opacity 0.7s, -webkit-transform 1s;\r\n}\r\n.tiga {\r\n    -webkit-transform: rotateX(-90deg) translateY(30px) translateZ(30px);\r\n            transform: rotateX(-90deg) translateY(30px) translateZ(30px);\r\n    opacity: 0;\r\n}\r\n.container .progress {\r\n    color: white;\r\n    position: absolute;\r\n    bottom: 80px;\r\n    right: 1px;\r\n    text-align: right;\r\n}\r\n@-webkit-keyframes a {\r\n    0%,\r\n    100% {\r\n        background-position: 50% 40%;\r\n    }\r\n    50% {\r\n        background-position: 50% 60%;\r\n    }\r\n}\r\n@keyframes a {\r\n    0%,\r\n    100% {\r\n        background-position: 50% 40%;\r\n    }\r\n    50% {\r\n        background-position: 50% 60%;\r\n    }\r\n}<\/pre>\n<p><span style=\"font-size: 14pt;\">function.js<\/span><\/p>\n<p>The final step, create a JavaScript file named &#8216;<em><strong>function.js<\/strong><\/em>&#8216; and put the codes.<\/p>\n<pre class=\"height-set:true height:750 lang:js decode:true\" title=\"function.js\">\/\/Code By Webdevtrick ( https:\/\/webdevtrick.com )\r\nvar g = document.getElementsByClassName(\"group\"),\r\n    c = 0,\r\n    i,\r\n    v = false;\r\n\r\nfor (i = 0; i &lt; g.length - 1; i++) {\r\n    g[i].querySelector(\"input\").onkeyup = function() {\r\n        if (this.validity.valid == true) {\r\n            v = true;\r\n            this.nextSibling.classList.add(\"valid\");\r\n        } else {\r\n            v = false;\r\n            this.nextSibling.classList.remove(\"valid\");\r\n        }\r\n    };\r\n    g[i].querySelector(\".button\").onclick = function() {\r\n        if (v == true) {\r\n            c++;\r\n            this.parentNode.className = \"group satu\";\r\n            this.parentNode.nextSibling.className = \"group dua\";\r\n            document.querySelector(\".progress\").innerHTML =\r\n                c +\r\n                \"\/\" +\r\n                (g.length - 1) +\r\n                \" COMPLETED.\" +\r\n                (c == g.length - 1\r\n                    ? \" THANK YOU FOR FILLING UP THE FORM.\"\r\n                    : \"\");\r\n            v = false;\r\n        }\r\n    };\r\n}<\/pre>\n<p>That&#8217;s It. Now you have successfully created <strong>Rotating Cuboid Form<\/strong> With CSS and JavaScript, <strong>Rotate Cube Fields<\/strong>. If you have any doubt or question comment down below.<\/p>\n<p><span style=\"font-family: impact, sans-serif;\">Thanks For Visiting, Keep Visiting.<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>How we can create a single box rotate form using HTML CSS JS? Solution: Check out this Rotating Cuboid Form With CSS and JavaScript, Rotate Cube Fields. Previously I have shared many form programs, but this is a rotating cube form. Basically, we use the form in websites to collecting or checking user&#8217;s data, which [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":4945,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[43,42,46],"tags":[366,74,494,271,244,61,493,67],"class_list":["post-4944","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-css","category-html","category-javascript","tag-3d","tag-css-animation","tag-cube","tag-form","tag-input","tag-javascript-tips-and-tricks","tag-progress","tag-source-code"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Rotating Cuboid Form With CSS and JavaScript | Rotate Cube Fields<\/title>\n<meta name=\"description\" content=\"Want to create a unique form with single box? Check out this Rotating Cuboid Form With CSS and JavaScript, 3D Rotate Cube Fields. Get source code now.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/webdevtrick.com\/rotating-cuboid-form\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Rotating Cuboid Form With CSS and JavaScript | Rotate Cube Fields\" \/>\n<meta property=\"og:description\" content=\"Want to create a unique form with single box? Check out this Rotating Cuboid Form With CSS and JavaScript, 3D Rotate Cube Fields. Get source code now.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/webdevtrick.com\/rotating-cuboid-form\/\" \/>\n<meta property=\"og:site_name\" content=\"Web Dev Trick\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/webdevtrick\/\" \/>\n<meta property=\"article:published_time\" content=\"2020-01-07T16:24:22+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/webdevtrick.com\/wp-content\/uploads\/rotating-cuboid-form.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"630\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"shaan\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"shaan\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/webdevtrick.com\/rotating-cuboid-form\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/webdevtrick.com\/rotating-cuboid-form\/\"},\"author\":{\"name\":\"shaan\",\"@id\":\"https:\/\/webdevtrick.com\/#\/schema\/person\/c79bae83976f92fe305c22342b2a0be3\"},\"headline\":\"Rotating Cuboid Form With CSS and JavaScript | Rotate Cube Fields\",\"datePublished\":\"2020-01-07T16:24:22+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/webdevtrick.com\/rotating-cuboid-form\/\"},\"wordCount\":700,\"commentCount\":2,\"publisher\":{\"@id\":\"https:\/\/webdevtrick.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/webdevtrick.com\/rotating-cuboid-form\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/webdevtrick.com\/wp-content\/uploads\/rotating-cuboid-form.jpg\",\"keywords\":[\"3d\",\"css animation\",\"cube\",\"form\",\"input\",\"javascript tips and tricks\",\"progress\",\"source code\"],\"articleSection\":[\"CSS\",\"HTML\",\"JavaScript\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/webdevtrick.com\/rotating-cuboid-form\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/webdevtrick.com\/rotating-cuboid-form\/\",\"url\":\"https:\/\/webdevtrick.com\/rotating-cuboid-form\/\",\"name\":\"Rotating Cuboid Form With CSS and JavaScript | Rotate Cube Fields\",\"isPartOf\":{\"@id\":\"https:\/\/webdevtrick.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/webdevtrick.com\/rotating-cuboid-form\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/webdevtrick.com\/rotating-cuboid-form\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/webdevtrick.com\/wp-content\/uploads\/rotating-cuboid-form.jpg\",\"datePublished\":\"2020-01-07T16:24:22+00:00\",\"description\":\"Want to create a unique form with single box? Check out this Rotating Cuboid Form With CSS and JavaScript, 3D Rotate Cube Fields. Get source code now.\",\"breadcrumb\":{\"@id\":\"https:\/\/webdevtrick.com\/rotating-cuboid-form\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/webdevtrick.com\/rotating-cuboid-form\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webdevtrick.com\/rotating-cuboid-form\/#primaryimage\",\"url\":\"https:\/\/webdevtrick.com\/wp-content\/uploads\/rotating-cuboid-form.jpg\",\"contentUrl\":\"https:\/\/webdevtrick.com\/wp-content\/uploads\/rotating-cuboid-form.jpg\",\"width\":1200,\"height\":630,\"caption\":\"rotating cuboid form\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/webdevtrick.com\/rotating-cuboid-form\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/webdevtrick.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Rotating Cuboid Form With CSS and JavaScript | Rotate Cube Fields\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/webdevtrick.com\/#website\",\"url\":\"https:\/\/webdevtrick.com\/\",\"name\":\"Web Dev Trick\",\"description\":\"HTML5, CSS3, JS, PHP Source Code &amp; Tutorial\",\"publisher\":{\"@id\":\"https:\/\/webdevtrick.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/webdevtrick.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/webdevtrick.com\/#organization\",\"name\":\"Web Dev Trick\",\"url\":\"https:\/\/webdevtrick.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webdevtrick.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/webdevtrick.com\/wp-content\/uploads\/logo-fb-1.png\",\"contentUrl\":\"https:\/\/webdevtrick.com\/wp-content\/uploads\/logo-fb-1.png\",\"width\":512,\"height\":512,\"caption\":\"Web Dev Trick\"},\"image\":{\"@id\":\"https:\/\/webdevtrick.com\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/webdevtrick\/\",\"https:\/\/pinterest.com\/webdevtrick\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/webdevtrick.com\/#\/schema\/person\/c79bae83976f92fe305c22342b2a0be3\",\"name\":\"shaan\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webdevtrick.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/60aa6ee93605bda7bc598d11dd748709a69bdb55a080124cc382114d8d7e7665?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/60aa6ee93605bda7bc598d11dd748709a69bdb55a080124cc382114d8d7e7665?s=96&d=mm&r=g\",\"caption\":\"shaan\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Rotating Cuboid Form With CSS and JavaScript | Rotate Cube Fields","description":"Want to create a unique form with single box? Check out this Rotating Cuboid Form With CSS and JavaScript, 3D Rotate Cube Fields. Get source code now.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/webdevtrick.com\/rotating-cuboid-form\/","og_locale":"en_US","og_type":"article","og_title":"Rotating Cuboid Form With CSS and JavaScript | Rotate Cube Fields","og_description":"Want to create a unique form with single box? Check out this Rotating Cuboid Form With CSS and JavaScript, 3D Rotate Cube Fields. Get source code now.","og_url":"https:\/\/webdevtrick.com\/rotating-cuboid-form\/","og_site_name":"Web Dev Trick","article_publisher":"https:\/\/www.facebook.com\/webdevtrick\/","article_published_time":"2020-01-07T16:24:22+00:00","og_image":[{"width":1200,"height":630,"url":"https:\/\/webdevtrick.com\/wp-content\/uploads\/rotating-cuboid-form.jpg","type":"image\/jpeg"}],"author":"shaan","twitter_card":"summary_large_image","twitter_misc":{"Written by":"shaan","Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/webdevtrick.com\/rotating-cuboid-form\/#article","isPartOf":{"@id":"https:\/\/webdevtrick.com\/rotating-cuboid-form\/"},"author":{"name":"shaan","@id":"https:\/\/webdevtrick.com\/#\/schema\/person\/c79bae83976f92fe305c22342b2a0be3"},"headline":"Rotating Cuboid Form With CSS and JavaScript | Rotate Cube Fields","datePublished":"2020-01-07T16:24:22+00:00","mainEntityOfPage":{"@id":"https:\/\/webdevtrick.com\/rotating-cuboid-form\/"},"wordCount":700,"commentCount":2,"publisher":{"@id":"https:\/\/webdevtrick.com\/#organization"},"image":{"@id":"https:\/\/webdevtrick.com\/rotating-cuboid-form\/#primaryimage"},"thumbnailUrl":"https:\/\/webdevtrick.com\/wp-content\/uploads\/rotating-cuboid-form.jpg","keywords":["3d","css animation","cube","form","input","javascript tips and tricks","progress","source code"],"articleSection":["CSS","HTML","JavaScript"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/webdevtrick.com\/rotating-cuboid-form\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/webdevtrick.com\/rotating-cuboid-form\/","url":"https:\/\/webdevtrick.com\/rotating-cuboid-form\/","name":"Rotating Cuboid Form With CSS and JavaScript | Rotate Cube Fields","isPartOf":{"@id":"https:\/\/webdevtrick.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/webdevtrick.com\/rotating-cuboid-form\/#primaryimage"},"image":{"@id":"https:\/\/webdevtrick.com\/rotating-cuboid-form\/#primaryimage"},"thumbnailUrl":"https:\/\/webdevtrick.com\/wp-content\/uploads\/rotating-cuboid-form.jpg","datePublished":"2020-01-07T16:24:22+00:00","description":"Want to create a unique form with single box? Check out this Rotating Cuboid Form With CSS and JavaScript, 3D Rotate Cube Fields. Get source code now.","breadcrumb":{"@id":"https:\/\/webdevtrick.com\/rotating-cuboid-form\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/webdevtrick.com\/rotating-cuboid-form\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webdevtrick.com\/rotating-cuboid-form\/#primaryimage","url":"https:\/\/webdevtrick.com\/wp-content\/uploads\/rotating-cuboid-form.jpg","contentUrl":"https:\/\/webdevtrick.com\/wp-content\/uploads\/rotating-cuboid-form.jpg","width":1200,"height":630,"caption":"rotating cuboid form"},{"@type":"BreadcrumbList","@id":"https:\/\/webdevtrick.com\/rotating-cuboid-form\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/webdevtrick.com\/"},{"@type":"ListItem","position":2,"name":"Rotating Cuboid Form With CSS and JavaScript | Rotate Cube Fields"}]},{"@type":"WebSite","@id":"https:\/\/webdevtrick.com\/#website","url":"https:\/\/webdevtrick.com\/","name":"Web Dev Trick","description":"HTML5, CSS3, JS, PHP Source Code &amp; Tutorial","publisher":{"@id":"https:\/\/webdevtrick.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/webdevtrick.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/webdevtrick.com\/#organization","name":"Web Dev Trick","url":"https:\/\/webdevtrick.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webdevtrick.com\/#\/schema\/logo\/image\/","url":"https:\/\/webdevtrick.com\/wp-content\/uploads\/logo-fb-1.png","contentUrl":"https:\/\/webdevtrick.com\/wp-content\/uploads\/logo-fb-1.png","width":512,"height":512,"caption":"Web Dev Trick"},"image":{"@id":"https:\/\/webdevtrick.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/webdevtrick\/","https:\/\/pinterest.com\/webdevtrick\/"]},{"@type":"Person","@id":"https:\/\/webdevtrick.com\/#\/schema\/person\/c79bae83976f92fe305c22342b2a0be3","name":"shaan","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webdevtrick.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/60aa6ee93605bda7bc598d11dd748709a69bdb55a080124cc382114d8d7e7665?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/60aa6ee93605bda7bc598d11dd748709a69bdb55a080124cc382114d8d7e7665?s=96&d=mm&r=g","caption":"shaan"}}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/webdevtrick.com\/wp-json\/wp\/v2\/posts\/4944","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webdevtrick.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webdevtrick.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webdevtrick.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/webdevtrick.com\/wp-json\/wp\/v2\/comments?post=4944"}],"version-history":[{"count":10,"href":"https:\/\/webdevtrick.com\/wp-json\/wp\/v2\/posts\/4944\/revisions"}],"predecessor-version":[{"id":4956,"href":"https:\/\/webdevtrick.com\/wp-json\/wp\/v2\/posts\/4944\/revisions\/4956"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/webdevtrick.com\/wp-json\/wp\/v2\/media\/4945"}],"wp:attachment":[{"href":"https:\/\/webdevtrick.com\/wp-json\/wp\/v2\/media?parent=4944"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webdevtrick.com\/wp-json\/wp\/v2\/categories?post=4944"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webdevtrick.com\/wp-json\/wp\/v2\/tags?post=4944"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}