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 class="row">
<div class="main">
<h3>Please Log In, or <a href="#">Sign Up</a></h3>
<div class="row">
<div class="large-6 small-6 columns">
<a href="#" class="button large">Facebook</a>
</div>
<div class="large-5 small-5 columns large-offset-1 small-offset-1">
<a href="#" class="button alert large">Google</a>
</div>
</div>
<div class="login-or">
<hr class="hr-or">
<span class="span-or">or</span>
</div>
<form role="form">
<label>
Username <input type="text">
</label>
<label>
Password <input type="password">
</label>
<label>
<input type="checkbox"> Remember me
</label>
<button type="submit" class="button">
Log In
</button>
</form>
</div>
</div>
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
body {
padding-top: 15px;
font-size: 12px
}
.main {
max-width: 320px;
margin: 0 auto;
}
.login-or {
position: relative;
font-size: 18px;
color: #aaa;
margin-top: 10px;
margin-bottom: 10px;
padding-top: 10px;
padding-bottom: 10px;
}
.span-or {
display: block;
position: absolute;
left: 50%;
top: -2px;
margin-left: -25px;
background-color: #fff;
width: 50px;
text-align: center;
}
.hr-or {
background-color: #cdcdcd;
height: 1px;
margin-top: 0px !important;
margin-bottom: 0px !important;
}
h3 {
text-align: center;
line-height: 300%;
}
h3 {
text-align: center;
line-height: 300%;
}
h3, .h3 {
font-size: 24px;
}
h1, h2, h3 {
margin-top: 20px;
margin-bottom: 10px;
}