I've been trying to design a login page for my website. I found one that I like a lot but I've been facing some problems when trying to implement it into mine.
This is what I'm trying to accomplish: Example
For example I'm using Bootstrap 3 for this:
#particles-js{
background: #dd4814;
height: 100vh;
}
#login{
margin: auto;
background-color: #FFFFFF;
opacity: 0.9;
padding: 2em;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
position: absolute;
border-radius: 10px;
}
.btn-orange{
color: #FFFFFF;
background-color: #dd4814;
border-color: #dd4814;
}
.btn-orange:hover{
color: #FFFFFF;
background-color: #ce4211;
}
.login-title{
font-size: 24px;
line-height: 1.2;
text-align: center;
width: 100%;
display: block;
padding-bottom: 50px;
}
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet"/>
<div id="particles-js">
<div id="login">
<div class="container-fluid">
<div class="row">
<div class="col-md-6">
<a href="#" target="_blank"><img vspace="50" class="img-responsive" src="https://codeigniter.com/assets/images/ci-logo-big.png"></a>
</div>
<div class="col-md-6">
<form>
<span class="login-title">Member Login</span>
<!-- Username -->
<div class="form-group has-feedback">
<label for="username">Username</label>
<input type="text" id="username" name="username" class="form-control" placeholder="Username" autocomplete="no" required>
<span class="form-control-feedback"><i class="fa fa-envelope"></i></span>
</div>
<!-- Password -->
<div class="form-group has-feedback">
<label for="password">Password</label>
<input type="password" id="password" name="password" class="form-control" placeholder="Password" autocomplete="no" required>
<span class="form-control-feedback"><i class="fa fa-lock"></i></span>
</div>
<div class="row">
<div class="col-xs-12">
<button type="submit" class="btn btn-orange btn-block">Log In</button>
</div>
</div>
</form>
<a href="#">Forgot password</a> | <a href="#">Register</a>
</div>
</div>
</div>
</div>
</div>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/particles.js@2.0.0/particles.min.js"></script>
Not only that effect I'm having troubles with but with the background as well; the background goes all the way down when accessing via a computer or tablet but when accessing with a cell phone is not working as I want to.
I hope I could make myself clear.
NOTE: the background issue is not really a concern, I just pointed it out if somebody would like to help me out on that one but it is not necessary. What I really want help with, is with the image effect.