Bootstrap snippet. lockscreen page with overlay

This snippet was created to help web designers, front-end and back-end developer save time. Use it for free in your project and build your app faster,
You can also download the HTML, CSS, and JS code.
Tags: lockscreen,login,signup

HTML code

This is the html code used to create this bootstrap snippet, You can copy, paste, change, customize and run the following HTML code to get a result like the one shown in the preview selection

<div id="main-wrapper" class="container">
        <div class="row justify-content-center">
            <div class="col-xl-10">
                <div class="card border-0">
                    <div class="card-body p-0">
                        <div class="row no-gutters">
                            <div class="col-lg-6">
                                <div class="p-5">
                                    <div class="mb-5">
                                        <h3 class="h4 font-weight-bold text-theme">Lock Screen</h3>

                                    <h6 class="h5 mb-0">My Lock screen.</h6>
                                    <p class="text-muted mt-2 mb-5">Feel good with Lock screen.</p>

                                        <div class="form-group mb-5">
                                            <label for="exampleInputPassword">Password</label>
                                            <input type="password" class="form-control" id="exampleInputPassword">
                                        <button type="submit" class="btn btn-theme">Submit</button>

                            <div class="col-lg-6 d-none d-lg-inline-block">
                                <div class="account-block rounded-right">
                                    <div class="overlay rounded-right"></div>
                                    <div class="account-testimonial">
                                        <h4 class=" font-weight-bold text-white mb-4">This beautiful theme yours!</h4>
                                        <p class="lead text-white">"Best investment i made for a long time. Can only recommend it for other users."</p>
                                        <p>- Admin User</p>

                    <!-- end card-body -->
                <!-- end card -->
                <!-- end row -->

            <!-- end col -->
        <!-- Row -->

CSS code

This is the css code used to create this bootstrap snippet, You can copy, paste, change, customize and run the following CSS code to get a result Like the one shown in the preview selection

    background: #f6f9fc;
.account-block {
    padding: 0;
    background-image: url(;
    background-repeat: no-repeat;
    background-size: cover;
    height: 100%;
    position: relative;
.account-block .overlay {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.4);
.account-block .account-testimonial {
    text-align: center;
    color: #fff;
    position: absolute;
    margin: 0 auto;
    padding: 0 1.75rem;
    bottom: 3rem;
    left: 0;
    right: 0;

.text-theme {
    color: #5369f8 !important;
.btn-theme {
    background-color: #5369f8;
    border-color: #5369f8;
    color: #fff;

Similar snippets

Bootstrap login with overlay image example

login with overlay image

Bootstrap Form register inside narrow jumbotron example

Form register inside narrow jumbotron

Bootstrap bs4 signup form example

bs4 signup form

Bootstrap blue login example

blue login

Bootstrap Task Details example

Task Details

Bootstrap events card widget example

events card widget

Bootstrap contact page section example

contact page section

Bootstrap Social network login with buttons example

Social network login with buttons

Bootstrap lockscreen page with overlay example

About this bootstrap snippet

We hope you will enjoy this awesome snippet and stay tuned for the latest updates, bootdey snippets are already used in thousands of blogs, websites and projects. We believe it will save your precious time and gives trendy look to your next web project.

We always try to offer the best beautiful and responsive source of Bootstrap code examples and components.

This snippet currectly have 1.1K views, Using this bootstrap snippet you have the following benefits:

Bootstrap 4.5.0

This snippet is based on bootstrap 4.5.0 and the grid system of this framework


Based on bootstrap framework makes all the layouts perfectly responsive for all devices

Crossbrowser compatibility

Tested on all major browsers, it works smoothly on all of them

Jquery plugins

Great built-in plugins with jquery framework, you can easy to change all declarations

semantic html 5

Built on html / css3 the code quality is really amazing

Simple Integration

This snippet can be simply integrated on existing sites and new ones too, all you need to do is copy the code and start working