"Login Screen with Form (My-Asia - 4.1.1)"
Bootstrap 4.1.1 Snippet by uaKalwin

<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <!-- CDN JS --> <script src="https://code.jquery.com/jquery-3.4.1.min.js" integrity="sha256-CSXorXvZcTkaix6Yvo6HppcZGetbYMGWSFlBw8HfCJo=" crossorigin="anonymous"></script> <!-- Bootstrap JS --> <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script> <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script> <!-- Jasny Bootstrap and JS --> <link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/jasny-bootstrap/4.0.0/css/jasny-bootstrap.min.css"> <script src="//cdnjs.cloudflare.com/ajax/libs/jasny-bootstrap/4.0.0/js/jasny-bootstrap.min.js"></script> <!-- Bootstrap select JS --> <script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-select/1.13.2/js/bootstrap-select.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-select/1.13.5/js/i18n/defaults-ua_UA.js"></script> <!-- FontAwesome and JS --> <script defer src="https://use.fontawesome.com/releases/v5.8.2/js/all.js" integrity="sha384-DJ25uNYET2XCl5ZF++U8eNxPWqcKohUUBUpKGlNLMchM7q4Wjg2CUpjHLaL8yYPH" crossorigin="anonymous"></script> <!-- Bootstrap CSS --> <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous"> <!-- Bootstrap select CSS --> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-select/1.13.2/css/bootstrap-select.min.css"> <div class="bg-light p-1 border-bottom shadow"> <h4 class="w-100 text-center"> <a href="#" class="text-decoration-none text-black-50"> <img src="https://my-asia.net/image/catalog/index/favicon.png" alr="My-Asia - Интернет-магазин товаров из Азии!" title="My-Asia - Интернет-магазин товаров из Азии!"> </a> </h4> </div> <div class="container-fluid"> <div class="row"> <div class="container mt-5"> <div class="row"> <div class="col-md-4 login-sec p-4"> <div class="w-100 border-bottom pb-3 mb-3"> <a href="#"> <img src="https://my-asia.net/image/catalog/index/my-asia_Stylo-font-white.png" title="" alt="" class="rounded p-1 logo-s m-auto d-block shadow" style="width: 220px;"> </a> </div> <form class="login-form needs-validation" novalidate> <div class="input-group mb-3"> <div class="input-group-prepend"> <span class="input-group-text" id="basic-addon1"><i class="fas fa-at"></i></span> </div> <input type="email" class="form-control" placeholder="E-mail" aria-label="E-mail" aria-describedby="basic-addon1" required> <div class="invalid-tooltip"> Введите e-mail. </div> </div> <div class="input-group mb-3"> <div class="input-group-prepend"> <span class="input-group-text" id="basic-addon1"><i class="fas fa-key"></i></span> </div> <input type="password" class="form-control" placeholder="Пароль" aria-label="Пароль" aria-describedby="basic-addon2" required> <div class="invalid-tooltip"> Введите пароль. </div> </div> <hr> <div class="align-middle"> <div class="d-inline custom-control custom-checkbox floar-left"> <input type="checkbox" class="custom-control-input" id="customCheck1"> <label class="custom-control-label" for="customCheck1">Запомнить</label> </div> <button type="submit" class="btn btn-outline-success float-right">Авторизоваться</button> </div> </form> </div> <div class="col-md-8 banner-sec rounded"> <div class="px-2 py-3 position-absolute rounded-left" style="background-color: rgba(255,255,255,0.5);bottom: 40px;"> <h2>Новый клиент | <span style="font-size: .5em;">Регистрация</span></h2> <p>Создание учетной записи поможет покупать быстрее. Вы сможете контролировать состояние заказа, а также просматривать заказы сделанные ранее. Вы сможете накапливать призовые баллы и получать скидочные купоны. А постоянным покупателям мы предлагаем гибкую систему скидок и персональное обслуживание.</p> <a href="{{ register }}" class="btn btn-labeled btn-primary py-0 mr-3 float-right">Регистрация<span class="btn-label btn-label-right"><i class="fa fa-arrow-right"></i></span></a> </div> </div> </div> </div> </div> </div>
@import url("//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css"); .logo-s { background: rgb(255,91,102); background: -moz-linear-gradient(top, rgb(255,91,102) 0%, rgb(255,35,51) 100%); background: -webkit-linear-gradient(top, rgb(255,91,102) 0%,rgb(255,35,51) 100%); background: linear-gradient(to bottom, rgb(255,91,102) 0%,rgb(255,35,51) 100%); filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ff5b66', endColorstr='#ff2333',GradientType=0 ); } .banner-sec{background:url(https://my-asia.net/image/catalog/asia-shop.jpg) no-repeat left bottom; background-size:cover;}
// Example starter JavaScript for disabling form submissions if there are invalid fields (function() { 'use strict'; window.addEventListener('load', function() { // Fetch all the forms we want to apply custom Bootstrap validation styles to var forms = document.getElementsByClassName('needs-validation'); // Loop over them and prevent submission var validation = Array.prototype.filter.call(forms, function(form) { form.addEventListener('submit', function(event) { if (form.checkValidity() === false) { event.preventDefault(); event.stopPropagation(); } form.classList.add('was-validated'); }, false); }); }, false); })();

Related: See More


Questions / Comments: