Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
61 changes: 61 additions & 0 deletions css/forms.css
Original file line number Diff line number Diff line change
Expand Up @@ -152,3 +152,64 @@
bottom: 100%;
}
}

.my .login-line{
color: white;
background: #136a8a;
background: -webkit-linear-gradient(to right, #267871, #136a8a);
background: linear-gradient(to right, #267871, #136a8a);
margin: auto;
box-shadow:
0px 2px 10px rgba(0,0,0,0.2),
0px 10px 20px rgba(0,0,0,0.3),
0px 30px 60px 1px rgba(0,0,0,0.5);
border-radius: 8px;
padding: 50px;
}

.my .form input[type=text].username{
border: none;
background: none;
box-shadow: 0px 2px 0px 0px white;
width: 100%;
color: white;
font-size: 1em;
outline: none;

}

.my .form .username::placeholder{
color: #D3D3D3;
}

.my .form input[type=password].password{
border: none;
background: none;
box-shadow: 0px 2px 0px 0px white;
width: 100%;
color: white;
font-size: 1em;
outline: none;
margin-bottom: 20px;
margin-top: 20px;
}

.my .form .password::placeholder{
color: #D3D3D3;
}

.my .form .submit-btn{
background: none;
text-decoration: none;
color: white;
box-shadow: 0px 0px 0px 2px white;
border-radius: 3px;
padding: 5px 2em;
transition: 0.5s;
}

.my .form .submit-btn:hover{
background: white;
color: dimgray;
transition: 0.5s;
}
64 changes: 61 additions & 3 deletions pages/forms.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
rel="stylesheet" />
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css"
integrity="sha384-JcKb8q3iqJ61gNV9KGb8thSsNjpSL0n8PARn9HuZOnIxN0hoP+VmmDGMN5t9UJ0Z" crossorigin="anonymous" />


<link rel="stylesheet" href="../css/forms.css">
<link rel="stylesheet" href="../css/style.css" />
<link rel="stylesheet" href="../css/cardcolor.css" />
Expand Down Expand Up @@ -90,6 +90,64 @@ <h2>
</div>
</div>
</div>

<!-- Ambareesh V Sankaran -->

<div class="row">
<div class="col-lg-6">
<div class="component">
<div class="card magictime">
<div class="card-title demo">
<strong>Form</strong>
</div>
<div class="card-content">

<section class="my">
<div class="login-line">
<h2>Login</h2>
<br>
<div class="form">
<form>
<input type="text" placeholder="Username" required="" class="username"><br>
<input type="password" placeholder="Password" required="" class="password">
<br><br><br>
<a href="#" class="submit-btn">
Submit
</a>
</form>
</div>
</div>
</section>


</div>
</div>
</div>
</div>
<div class="col-lg-6">
<div class="component">
<div class="card magictime">
<div class="card-title demo">
<strong>Creator</strong>
</div>
<div class="card-content">
<div class="creater-name">
<h2>
<b>Name:</b><span>
<a href="https://github.com/Ambareeshvs">Ambareesh V Sankaran</a>
</span>
</h2>
</div>
</div>
</div>
</div>
</div>
</div>





</div>
</section>
<footer>
Expand All @@ -98,4 +156,4 @@ <h2>
<script src="../js/index.js"></script>
</body>

</html>
</html>