This is an example of another stylish login form, designed using CSS, HTML, and Bootstrap framework 4. The background image, font style, and Bootstrap styles have been imported to the code with the URLs. The labels of the input fields in the form are given a floating animation, to be activated on the focus mode. The functionality of the labels is implemented by the JavaScript methods. The body of the form is given the styles of background color as #eee, font-family as roboto, and justify-content as center. The login card is given a box-shadow style of 0 1px 6px 0 rgba(0, 0, 0, 0.12), 0 1px 6px 0 rgba(0, 0, 0, 0.12). The logo in the login card is given an opacity value of 0.8. The input text fields are given the styles of font-size as 18px, border-bottom as 1px solid rgba(255, 255, 255, 0.3), and font color as #eee. The font-size of the text fields' labels is set as 18px, which gets changed to 14px, in a hover event. Source: https://bootsnipp.com/snippets/P2RAl
This is an example of another contact us form with floating labels, designed using HTML, CSS, and Bootstrap framework 4. The font style is imported to the code using its URL. The users are given the ability to access the contact form on clicking the modal button.The body of the form has the styles of background color as linear-gradient(0deg, #fff, 50%, RGB(210, 231, 252)), and font-family as 'Rubik', sans-serif. The font size of the title has been calculated using the calc(14px + (17 - 14) * ((100vw - 360px) / (1600 - 320))) formula. The background color of the modal button is set as #52B4DB. The input text fields are given a font-size of 15px, and the opacity is set as 0.5. The font-size of the labels gets changed to 8px in the focused mode, and the font color gets changed to #04A79C to create the floating effect on labels. In a focus event, the input text fields take the effects of border as 1px solid #04A79C, and box-shadow as 2px 2px rgba(233, 226, 226, 0.8). The cursor style for the modal is set as pointer to get the hand cursor effect in the hover event. Source: https://bbbootstrap.com/snippets/contact-us-form-floating-labels-23481684
This is an example of a stylish contact us form, designed using CSS, HTML, and Bootstrap framework 4. The font style is imported to the form with its URL. The form is given a font-family style as "Poppins", sans-serif. The form is given the styles of max-width as 820px, background-color as #fff, border-radius as 4px, and box-shadow as 0 0 20px 1px rgba(0, 0, 0, 0.1). The contact information form is given a background color as #D50000. The form title is displayed using the styles of font color as #fff, font-weight as 500, font-size as 1.5rem, and line-height as 1. The input text fields are given the styles of border as 2px solid #fafafa, font color as #fff, font-weight as 500, font-size as 0.95rem, and letter-spacing as 0.5px. The 'Send' button is given the styles of background-color as #fff, border as 2px solid #fafafa, font-size as 0.95rem, font color as #1abc9c, and line-height as 1. The cursor style for the button is set as pointer to get the hand cursor effect on hover. The background color of the button turns to transparent on hover. The social media icons take a transform effect of scale(1.05), in a hover event. Source: https://bbbootstrap.com/snippets/bootstrap-contact-us-form-floating-label-and-contact-info-71020948
This is an example of another signup form with a floating label, designed using HTML, CSS, and Bootstrap framework 4. The background image is imported to the code with its URL. The form consists of input fields, signup button or sign in with Google link. The body is given the styles of color as #000, height as 100%, and background-color as #D32F2F. The input fields are given the styles of background-color as #F3E5F5, padding as 8px 0px 8px 0px, width as 100%, box-sizing as border-box, border-bottom as 1px solid #F3E5F5, font-size as 18px, color as #000 and font-weight as 300. The input fields take the styles of border-bottom as 1px solid #D32F2F, and font-weight as 400, in a focus event. The signup button is given a background color of #BDBDBD, where it changes to #D32F2F, in a hover event. The input text label takes a transform style of translate3d(0, -100%, 0), to generate a floating label effect, in a focus event. Source: https://bbbootstrap.com/snippets/sign-up-form-floating-label-96054886
This is an example of a floating label layout, designed using HTML, CSS, JavaScript, and Bootstrap framework 4. The JavaScript functions have been used to implement the floating functionality of the labels. The body of the form is given the styles of min-height as 100vh, background as HSL(215,21%,24%), font-family as 'Roboto Condensed', sans-serif, and letter-spacing as 0.1em. The input label has the styles of display as block, height as 100%, width as 35%, padding-left and padding-right as 0.75em, background as HSL(320,69%,53%), color as white, line-height as 2.5rem, text-transform as uppercase to automatically convert the text to uppercase, and transition as transform 0.3s ease-in-out. The input field has the styles of height as 2.5rem, width as 100%, padding-left as 38%, color as HSL(215,21%,24%), border as 1px solid HSL(320,69%,53%), and transition as padding-left 0.3s ease. When an input field is checked, the border and the label color becomes HSL(90,44%,71%), and the font color becomes white. Source: https://codepen.io/meowwwls/pen/JGbwKw