Beautify code on Register Page

This commit is contained in:
Moe Poi ~ 2021-09-26 23:22:01 +07:00
parent 540150ce27
commit bd3951b369

View file

@ -94,7 +94,9 @@
} }
@media screen and (max-width: 426px) { @media screen and (max-width: 426px) {
.card a, input {
.card a,
input {
font-size: 3vw; font-size: 3vw;
} }
@ -109,7 +111,9 @@
} }
@media screen and (min-width: 427px) { @media screen and (min-width: 427px) {
.card a, input {
.card a,
input {
font-size: 2vw; font-size: 2vw;
} }
@ -124,7 +128,9 @@
} }
@media screen and (min-width: 767px) { @media screen and (min-width: 767px) {
.card a, input {
.card a,
input {
font-size: 2vw; font-size: 2vw;
} }
@ -139,7 +145,9 @@
} }
@media screen and (min-width: 993px) { @media screen and (min-width: 993px) {
.card a, input {
.card a,
input {
font-size: 1vw; font-size: 1vw;
} }
@ -154,7 +162,9 @@
} }
@media screen and (min-width: 1400px) { @media screen and (min-width: 1400px) {
.card a, input {
.card a,
input {
font-size: 1vw; font-size: 1vw;
} }
@ -194,9 +204,7 @@
<div class="col"> <div class="col">
<div class="card text-white col-md-8 col-lg-6 col-xl-5"> <div class="card text-white col-md-8 col-lg-6 col-xl-5">
<h1 class="card-header text-white">Register</h1> <h1 class="card-header text-white">Register</h1>
<lottie-player autoplay background="transparent" <lottie-player autoplay background="transparent" class="icon" loop speed="1"
class="icon"
loop speed="1"
src="https://assets10.lottiefiles.com/datafiles/JAmX1SNojoncImC/data.json"></lottie-player> src="https://assets10.lottiefiles.com/datafiles/JAmX1SNojoncImC/data.json"></lottie-player>
<div class="card-body"> <div class="card-body">
<form class="px-4 py-3"> <form class="px-4 py-3">
@ -206,22 +214,19 @@
</div> </div>
<div class="form-group"> <div class="form-group">
<input class="form-control input-sm text-center" id="last_name" name="last_name" <input class="form-control input-sm text-center" id="last_name" name="last_name"
placeholder="Last Name" placeholder="Last Name" type="text">
type="text">
</div> </div>
<div class="form-group"> <div class="form-group">
<input class="form-control text-center" id="birthDate" style="color: gray" type="date"> <input class="form-control text-center" id="birthDate" style="color: gray" type="date">
</div> </div>
<div class="form-group"> <div class="form-group">
<input class="form-control input-sm text-center" id="email" name="email" <input class="form-control input-sm text-center" id="email" name="email"
placeholder="Email Address" placeholder="Email Address" type="email">
type="email">
</div> </div>
<div class="form-group"> <div class="form-group">
<div class="input-group"> <div class="input-group">
<input class="form-control input-sm text-center" id="password" name="password" <input class="form-control input-sm text-center" id="password" name="password"
placeholder="Password" placeholder="Password" type="password">
type="password">
<div class="input-group-append"> <div class="input-group-append">
<span class="input-group-text"> <span class="input-group-text">
<i class="fa fa-eye" onclick="revealhidePassword()"></i> <i class="fa fa-eye" onclick="revealhidePassword()"></i>
@ -232,9 +237,7 @@
<div class="form-group"> <div class="form-group">
<div class="input-group"> <div class="input-group">
<input class="form-control input-sm text-center" id="password_confirmation" <input class="form-control input-sm text-center" id="password_confirmation"
name="password_confirmation" name="password_confirmation" placeholder="Confirm Password" type="password">
placeholder="Confirm Password"
type="password">
<div class="input-group-append"> <div class="input-group-append">
<span class="input-group-text"> <span class="input-group-text">
<i class="fa fa-eye" onclick="revealhideConfirmationPassword()"></i> <i class="fa fa-eye" onclick="revealhideConfirmationPassword()"></i>
@ -242,7 +245,8 @@
</div> </div>
</div> </div>
</div> </div>
<a class="btn btn-register btn-primary" type="submit" href="register-verification-sent.html">Register</a> <a class="btn btn-register btn-primary" type="submit"
href="register-verification-sent.html">Register</a>
<br style="display: block;content: ' '; margin: 1vw 0; line-height: 1vw;"> <br style="display: block;content: ' '; margin: 1vw 0; line-height: 1vw;">
<div class="hoversignin-1 text-center"> <div class="hoversignin-1 text-center">
<a href="login.html">Already have an account ?? Click here to Sign In !!</a> <a href="login.html">Already have an account ?? Click here to Sign In !!</a>
@ -280,12 +284,10 @@
<script> <script>
AOS.init(); AOS.init();
</script> </script>
<script crossorigin="anonymous" <script crossorigin="anonymous" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj"
integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj"
src="https://code.jquery.com/jquery-3.5.1.slim.min.js"> src="https://code.jquery.com/jquery-3.5.1.slim.min.js">
</script> </script>
<script crossorigin="anonymous" <script crossorigin="anonymous" integrity="sha384-Piv4xVNRyMGpqkS2by6br4gNJ7DXjqk09RmUpJ8jgGtD7zP9yug3goQfGII0yAns"
integrity="sha384-Piv4xVNRyMGpqkS2by6br4gNJ7DXjqk09RmUpJ8jgGtD7zP9yug3goQfGII0yAns"
src="https://cdn.jsdelivr.net/npm/bootstrap@4.6.0/dist/js/bootstrap.bundle.min.js"> src="https://cdn.jsdelivr.net/npm/bootstrap@4.6.0/dist/js/bootstrap.bundle.min.js">
</script> </script>
<script src="https://unpkg.com/@lottiefiles/lottie-player@latest/dist/lottie-player.js"></script> <script src="https://unpkg.com/@lottiefiles/lottie-player@latest/dist/lottie-player.js"></script>