Close

3D Fold out reveal

This is an example of a web form with a 3D fold-out reveal card preview, designed using HTML, CSS, and JavaScript. The background images of the cards are imported to the code with their URLs. JavaScript functions have been used to create 3D animations in a focused event. The font family of the form is set as Sans+Pro and imported into the code with its URL. The colors are predefined as variables and set as white: #ffffff, lightBG: #dce1df, salmon: #ff6666, teal: #0096a0, tealMid: #0ebac7, tealContrast: #33ffff, darkGrey: #4f585e, and tealShade: #007c85. The body of the form is given the styles of background: @lightBG, color: @darkGrey, font-family: 'Source Sans Pro', sans-serif, and text-rendering: optimizeLegibility. The cards are given an initial set of styles such as background: @white, display: inline-block, margin: 8px, max-width: 300px, perspective: 1000, position: relative, text-align: left, and transition: all 0.3s 0s ease-in. The cursor is set as pointer to display the cursor as a hand, in a focus event on cards. Source: https://codepen.io/candroo/pen/wKEwRL

Post Comment or Questions

Lorem ut labore et dolore magna aliqua. Ut enim ad minim veniam.

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.