Trending Designs

Impressed by our work?

Hire us for exceptional web development services on Fiverr

Neumorphism Login Form with Bootstrap 5 & Hover Effects

Neumorphism Login Form with Bootstrap 5 & Hover Effects
05 June
Learn how to create a Neumorphism Login Form using HTML, CSS, and Bootstrap 5.

Neumorphism Login Form with Bootstrap 5 & Hover Effects

Neumorphism Login Form Using Bootstrap 5

This Neumorphism Login Form is designed using HTML, CSS, and Bootstrap 5 to create a modern and visually appealing authentication interface. The design follows the Neumorphism UI trend, giving the login form a soft, 3D-like appearance with smooth hover effects and elegant styling.

The form is fully responsive and works seamlessly across all devices including desktops, tablets, and mobile screens. Bootstrap 5 is used to ensure a flexible layout, while custom CSS adds Neumorphism effects and hover animations for a premium user experience.

This project is ideal for beginners who want to improve their front-end skills and for developers who want to create modern login pages with clean UI/UX design.


Steps to Create Neumorphism Login Form

Follow these simple steps to build this login form:

  1. Create a project folder (e.g., neumorphism-login-form).
  2. Inside the folder, create three files: index.html, style.css.
  3. Design the login form structure using HTML and Bootstrap 5 classes.
  4. Add the Bootstrap 5 CDN link inside the HTML document.

                            
                                <!DOCTYPE html>

<!-- TheProviders ----------------- youtube.com/@TheProvidersOfficial -->


<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Neumorphism Login Page</title>
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet">
    <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">
    <link rel="stylesheet" href="style.css">
    </head>
<body>
    
    <main class="d-flex justify-content-center align-items-center min-vh-100">
        <div class="neumorphic-card">
            <h1 class="text-center fw-bold mb-4" style="color: var(--main-color);">Login</h1>
            <form>
                <div class="mb-4">
                    <label for="email" class="form-label">Email</label>
                    <input type="email" class="form-control neumorphic-input" required id="email" aria-describedby="emailHelp" placeholder="Enter your email">
                </div>
                <div class="mb-4">
                    <label for="password" class="form-label">Password</label>
                    <input type="password" class="form-control neumorphic-input" required id="password" placeholder="Enter your password">
                </div>
                <div class="d-grid">
                    <button type="submit" class="btn neumorphic-btn">Login</button>
                </div>
                <div class="mt-4 text-center">
                    <a href="#" class="text-secondary text-decoration-none">Forgot Password?</a>
                </div>
            </form>
        </div>
    </main>


</body>
</html>
                            
                        

Apply Neumorphism styling using CSS box-shadow effects. Add hover animations for interactive UI experience. Make the layout fully responsive for all screen sizes. Save the files and open the project in a browser to view the transparent login page.


                            
                                <style>
        :root {
            --bg-color: #e0e5ec;
            --main-color: #3f4e6d;
            --shadow-light: #ffffff;
            --shadow-dark: #a3b1c6;
        }
        body {
            font-family: 'Inter', sans-serif;
            background-color: var(--bg-color);
        }
        .neumorphic-card {
            background-color: var(--bg-color);
            border-radius: 20px;
            box-shadow: 8px 8px 16px var(--shadow-dark), -8px -8px 16px var(--shadow-light);
            padding: 3rem;
            max-width: 450px;  
            width: 100%;
            transition: all .8s ease-in-out;
        }
        .neumorphic-card:hover {
            box-shadow: 8px 8px 16px var(--shadow-light) , -8px -8px 16px var(--shadow-dark) ;
        }
        .neumorphic-input {
            height: 50px;
            background-color: var(--bg-color);
            border: none;
            border-radius: 10px;
            box-shadow: inset 5px 5px 10px var(--shadow-dark), inset -5px -5px 10px var(--shadow-light);
            transition: all 0.3s ease;
        }
          .neumorphic-input:focus {
            background-color: var(--bg-color);
            box-shadow: inset 2px 2px 5px var(--shadow-dark), inset -2px -2px 5px var(--shadow-light), 0 0 0 3px var(--main-color);
            border: none;
            outline: none;
        }
        .neumorphic-btn {
            margin-top: 15px;
            background-color: var(--bg-color);
            color: var(--main-color);
            border-radius: 10px;
            font-weight: 600;
            box-shadow: 8px 8px 16px var(--shadow-dark), -8px -8px 16px var(--shadow-light);
            transition: all 0.5s ease-in-out;
            border: none;
            padding: 1rem;
        }
         .neumorphic-btn:hover {
            transform: scale(0.98);
            background-color: var(--main-color);
            color: var(--shadow-light);
        }
        .form-label {
            color: var(--main-color);
            font-weight: 500;
        }
    </style>
                            
                        


Download Code Files


Share This Post :