Créer un FORMULAIRE transparent en HTML et CSS

Créer un FORMULAIRE transparent en HTML et CSS

Introduction to the Transparent Login Form

Overview of the Tutorial

  • The video introduces a tutorial on creating a transparent login form with a background image, featuring user and password fields along with a login button.
  • Viewers are encouraged to like and subscribe before diving into the tutorial.

Initial Setup

  • Downloadable resources include an HTML file, CSS file, and a background image, all provided in the description.
  • The HTML structure is established with a title "login form" and links to the CSS file for styling.

Building the HTML Structure

Creating Input Fields

  • A section is created containing an H1 title labeled "connexion" followed by input fields for username and password.
  • A checkbox for "remember me" functionality is added alongside a link for forgotten passwords.

Finalizing HTML Elements

  • A submit button labeled "se connecter" is included at the bottom of the form.
  • A registration link prompts users without an account to sign up.

Styling with CSS

Body and Section Styles

  • The body has its background color set initially to red (to be changed later), while sections are styled with green backgrounds for visibility during development.

Centering Elements

  • Flexbox properties are applied to center elements vertically and horizontally within the viewport.

Input Box Customization

Input Field Design

  • Input boxes are styled to have 100% width, relative positioning, and specific margins for spacing.

Placeholder Text Styling

  • Placeholder text color is adjusted to white for better visibility against the input field's design.

Adding Icons

Icon Integration

  • Icons from FontAwesome are integrated into input fields using absolute positioning for aesthetic enhancement.

Enhancing User Experience

Remember Me Section Styling

  • The layout of "remember me" options is improved using flexbox properties for alignment and spacing adjustments.

Button Design

Login Button Features

  • The login button receives styles including rounded corners, padding adjustments, cursor changes on hover, and transition effects.

Register Link Formatting

Registration Link Style

  • The registration link inherits similar styles as other links in terms of color and hover effects ensuring consistency across UI elements.

Final Touches on Background Image

Background Image Application

  • The red background color is replaced with an image URL; additional properties ensure proper sizing and centering of this background image.

Blurring Effect Implementation

A backdrop filter effect adds blur to enhance visual appeal while maintaining focus on foreground elements.

Conclusion

The video concludes by showcasing the final result of the transparent login form design.

Video description

Dossier de départ : https://drive.google.com/file/d/1qlwVM3WXVa249Nx_irCjL9pLlEZggIyx/view?usp=sharing Apprends à créer un formulaire avec un arrière-plan TRANSPARENT en utilisant uniquement HTML et CSS. TUTORIEL facile à suivre ! #HTML #CSS #formulaire #transparent #tutoriel feedyourback (mon SaaS) pour intégrer des formulaires de collecte d'avis à votre site web : https://feedyourback.com/ 🔗 Liens Utiles : 1) Comment Utiliser Docker : Tutoriel pour Débutants : https://youtu.be/dMwNffNA67E 2) Créez des sites web impressionnants rapidement avec DaisyUI : https://youtu.be/X6Yp9FXNpvU 3) Créer une API REST avec une base de données (Next.js et Prisma) : https://youtu.be/-0XhMzovzQM 4) Débutant : Comment utiliser GitHub : https://youtu.be/X3KCX99I2pQ 📱 Me suivre sur X : https://x.com/AdenleSadikou