Bootstrap snippet and html example. locked screen page

This html snippet was created to help web designers, web developers, 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: user,password,screen

HTML code

This is the html code used to create this bootstrap snippet, You can copy and paste the following html code inside a page with bootstrap 3.3.4 included, to get the result that you can see in the preview selection

<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css" rel="stylesheet">
<div class="container bootstrap snippets bootdey">
    <div class="row">
		<div class="col-md-6 col-md-offset-3 col-sm-8 col-sm-offset-2 col-xs-12">
            <div class="panel panel-primary" id="locked-screen">
                <div class="panel-heading">
                    <h3 class="panel-title">     
                  Anderson corbrick
                </h3>
                </div>
                <div class="panel-body">
                    <form class="form-horizontal" role="form">
                      <div class="profile-pic text-center">
                                <img src="https://bootdey.com/img/Content/avatar/avatar7.png" alt="" class="img-circle img-thumbnail img-user">
                            </div>
                        <div class="form-group">
                            <div class="col-md-12">
                                <input type="password" class="form-control" id="password" placeholder="Password">
                                <i class="fa fa-lock"></i>
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-md-12">
                                <a href="#" class="btn btn-primary btn-block">Unlock</a>
                            </div>
                        </div>
                    </form>
                </div>
            </div>    	    
		</div>
	</div>
</div>

CSS code

This is the css code used to create this bootstrap snippet, You can copy and paste the following css code inside a page with bootstrap 3.3.4 included, to get the result that you can see in the preview selection

body {
  color: #565656;
  background: #ddd;
  font-family: "Open Sans", Helvetica, Arial, sans-serif;
  font-size: 100%;
  padding: 0px;
  margin: 0px;
  min-height: 100%;
  position: relative;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

#locked-screen{
    margin-top:80px;    
}

.img-user{
    margin:auto;
}

.panel-primary > .panel-heading {
  color: #fff;
  background-color: #39bbdb;
  border-color: #556b8d;
}

.panel > .panel-heading {
  font-weight: 400;
  text-transform: uppercase;
  padding: 14px 10px;
}

.panel {
  border: none;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  -ms-border-radius: 0;
  -o-border-radius: 0;
  border-radius: 0;
}

.panel-heading > .panel-title {
  height: auto;
  font-size: 0.813em;
}

.profile-pic {
  margin: 15px 0;
}

.profile-pic img {
  border: 7px solid #e5e6ea;
}

.btn-primary, a.btn-primary:link, a.btn-primary:visited {
  color: #fff;
  background-color: #39bbdb;
  border-radius:0px;
}

#password {
  padding-left: 32px;
}

.form-control {
  border: 2px solid #e8ebed;
  border-radius: 2px;
  box-shadow: none;
  height: 37px;
  padding: 8px 12px 9px 12px;
}

.form-group i {
  position: absolute;
  left: 27px;
  top: 11px;
}

Similar snippets

Bootstrap example and template. List user profiles

List user profiles

Bootstrap example and template. Cover Profile image with button

Cover Profile image with button

Bootstrap example and template. User profile porlet with tabs

User profile porlet with tabs

Bootstrap example and template. bs4 simple profile header

bs4 simple profile header

Bootstrap example and template. bs5 dark footer

bs5 dark footer

Bootstrap example and template. Refresh Widget

Refresh Widget

Bootstrap example and template. bs4 Responsive Dashboard Menu Cards

bs4 Responsive Dashboard Menu Cards

Bootstrap example and template. bs5 edit profile account details

bs5 edit profile account details

Bootstrap example and template. locked screen page

About this bootstrap example/template

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 code example currectly have 7.1K views, Using this bootstrap snippet you have the following benefits:

Bootstrap 3.3.4

<link rel='stylesheet' href='https://netdna.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css'>

<script src='https://netdna.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js'></script>

This code example is based on bootstrap 3.3.4 and the grid system of this framework

Responsive

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

semantic html 5

Built on html / css3 the code quality is really amazing

Simple Integration

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