Close

Folded Paper Login Form

This is an example of a login form with hover animations, designed using CSS, HTML, and bootstrap framework 4. The fonts and icons are imported to the code with their URLs. The values and font sizes are predefined as color-primary: mediumslateblue, color-secondary: black, color-tertiary: hotpink, base-border-radius: 0.25rem, ease: cubic-bezier(0.075, 0.82, 0.165, 1), duration: 350ms, font-family: 'Roboto', sans-serif, and font-size: 1.25rem. The laels are given the styles of font-size as calc(var(--font-size) / 1.65), font-weight as 700, text-transform as uppercase to automatically convert the text to uppercase, and letter-spacing as 0.065rem. The body of the form is given a style set of padding as var(space-m), font-size as var(font-size), font-family as var(font-family), line-height as 1.2, and background-color as var(color-tertiary). The header of the form is given the styles of font-weight as 700, and font-size as calc(var(--font-size) * 1.5). The form is given a transform value of skewY(-5deg) translateY(10%) scale(0.94). In a hover event, the form takes a transform of scale(1.0001) to get the folded animation. Source: https://codepen.io/hexagoncircle/pen/XWJGQqy

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.

Several Related Snippets

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