This is an example of a simple neomorphic signup/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, p, input, select, text area, 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 button is given a font size and a padding of 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 as inset 2px 2px 5px $color-shadow, inset -5px -5px 10px $color-white, and a transition value as all 0.2s ease-in-out. 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. The button is given a cursor style as pointer to get the hand cursor effect, 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, which changes to -2px -2px 5px $color-white, 2px 2px 5px $color-shadow, and inset 1px 1px 2px $color-shadow, inset -1px -1px 2px $color-white, in hover and active events, respectively. Source: https://codepen.io/swapnet/pen/QWwPVwE
This is an example of a toggle buttons layout with animations, designed using CSS, HTML, and Bootstrap framework 4. The icons and CSS animations are imported to the code with their URLs. Media queries have been used to increase the responsiveness of the form. There are eight toggle button containers named as Normal, Transparent, Yes & No, Gravity, Pancake Stacks, Doggo Wants a Treat, Kobe Bryant Tribute, and Beer Pong. The body of the form is given a background color of #2e394d. The eight toggle button containers are given eight different background colors which are #dec387, #de8797, #87aade, #c5de87, #87ded2, #c487de, #de8787, and #decf87. The name of the toggle button has the styles of font as 500 14px 'Rubik', sans-serif, letter-spacing as .5px, text-transform as uppercase, and text-shadow as 0 1px 1px rgba(0,0,0,0.4). The toggle button is given the styles of width as 7em, background as #2e394d, height as 3em, border-radius as 50px, transition as all .3s ease, transform-origin as 20% center, and cursor as pointer. The toggle buttons are given different animation styles to work on a checked event. Source: https://codepen.io/oliviale/pen/xxboXzo
This is an example of a bootstrap toggle button with animations, designed using HTML, CSS, JavaScript, and Bootstrap framework 4. The fonts and icons are imported to the code with their URLs. JavaScript functions have been used to implement toggle features. The body of the form is given the styles of font-family as 'Lora', serif, and color as #303030. The night label is given an opacity value of 0.2. The toggle button is given a cursor style as pointer to get the hand cursor effect in a hover event. The day section of the toggle button is given a background color of #61b9e5, which changes to #d0edff, when the button switches to night, with a transform value of translate(-2 -2). The night section of the toggle button is given a background color of #004373, whereas the stars are given a background color of #fff5a6. The background color of the form turns to #b0b0b9 when the switch is turned to night event. Source: https://codepen.io/ste-vg/pen/oNgrYOb