Close

Neomorphic Login/Signup Form

This is an example of a neomorphic login web form with hover effects, designed using CSS, HTML, and Bootstrap framework 4. The colors used in the form are predefined as $color-red: #AE1100, $color-bg: #EBECF0, $color-shadow: #BABECC, and $color-white: #FFF. The form is given a background color of $color-bg. The body and button sections are given the styles of font-family as 'Montserrat', sans-serif, letter-spacing as -0.2px, and font-size as 16px. The login button is given a font size as 16px and a padding as 16px, and a background color as $color-bg, and a text shadow as 1px 1px 0 $color-white. The input fields are given a box-shadow of inset 2px 2px 5px $color-shadow, inset -5px -5px 10px $color-white, and a transition value as all 0.2s ease-in-out. The login button is given a cursor style as pointer to get the hand cursor effect in a hover event, font-weight as 600, color as #61677C, transition as all 0.2s ease-in-out, and box-shadow as -5px -5px 20px $color-white, 5px 5px 20px $color-shadow. In a focus event, the box-shadow of the input fields turns to inset 1px 1px 2px $color-shadow, inset -1px -1px 2px $color-white. In hover and active events, the login button takes the styles of box shadow as -2px -2px 5px $color-white, 2px 2px 5px $color-shadow, and inset 1px 1px 2px $color-shadow, inset -1px -1px 2px $color-white. Source: https://codepen.io/swapnet/pen/QWwPVwE

Post Comment or Questions

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

Your email address will not be published.

Several Related Snippets

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