Bootstrap 3.0.0 Snippet by evarevirus

<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <!-- https://dribbble.com/shots/2358349-Daily-Shmaily-UI-1-Game-Login --> <div class="wrapper"> <div class="container"> <div class="stencil"> <div class="line"> <div class="line"></div> </div> </div> <div class="border-triangle"></div> <div class="content-triangle"></div> <div class="enter-triangle-one"></div> <div class="enter-triangle-two"></div> <form onsubmit="return false" method="post" id="form"> <div class="title"> <label>LOG INTO</label> <label>SYSTEM</label> </div> <div class="input-inform"> <input type="text" name="name" id="name" placeholder="LOGIN..." /> <input type="password" name="password" id="password" placeholder="PASSWORD..." /> <input type="button" value="FORGOT PASSWORD?" id="forgot-pas"/> </div> <div class="enter"> <label for="enter"></label> <input type="submit" name="submit" value="ENTER" id="enter"/> </div> </form> </div> </div> <script> document.getElementById('enter').onclick = function() { valid(document.getElementById('form')); } function valid(form) { var fail = false, name = form.name.value.trim(), password = form.password.value.trim(); console.log(); if (!name) fail = 'You have not entered the name'; else if (!password) fail = 'You have not entered the password'; if (fail) alert(fail); else alert('Good job'); } </script>
* { box-sizing: border-box; font-family: 'Open Sans', sans-serif; } body { background: #dde3e8; } .wrapper, .container { height: 525px; width: 337px; } .wrapper { margin: auto; position: absolute; top: -10px; right: 0; bottom: 0; left: 0; } .container { position: relative; } .container .stencil { border: 5px solid #77dff9; height: 440px; width: 235px; transform: matrix(0.85,0.8,-0.08,0.7,19,43); position: absolute; z-index: 1; } .container .stencil .line { border: 3px solid #77dff9 ; height: 94.6%; margin: 11px 0; border-right: none; border-left: none; } .container .border-triangle { position: absolute; z-index: 10; border-top: 257px solid transparent; border-left: 337px solid rgba(255,255,255,0.5); border-bottom: 268px solid transparent; } .container .content-triangle { position: absolute; left: 12px; top: 22px; border-top: 235px solid transparent; border-left: 307px solid #fff; border-bottom: 245px solid transparent; z-index: 15; } .container .content-triangle:before, .container .content-triangle:after, .container form .title:after { content: ''; position: absolute; width: 10px; height: 15px; border: 1px solid #71d2ec; } .container .content-triangle:before { border-bottom: none; border-right: none; transform: matrix(0.85,0.64,-0,0.7,-295,-203); } .container .content-triangle:after { border-top: none; border-right: none; transform: matrix(0.85,-0.7,-0,0.7,-295,197); } .container .enter-triangle-one { position: absolute; border-top: 90px solid transparent; border-left: 135px solid #192042; border-bottom: 76px solid transparent; transform: rotate(51.5deg); bottom: 5px; left: 153px; z-index: 5; } .container .enter-triangle-one:before { content: ''; position: absolute; border-top: 120px solid transparent; border-left: 188px solid #192042; border-bottom: 141px solid transparent; transform: rotate(4deg); bottom: -129px; left: -207px; -webkit-filter: blur(20px); filter: blur(20px); z-index: 5; } .container .enter-triangle-two { position: absolute; border-top: 111px solid transparent; border-left: 108px solid rgba(40, 65, 143, 0.2); border-bottom: 47px solid transparent; transform: rotate(51deg); bottom: 13px; left: 148px; z-index: 6; } .container form { position: absolute; z-index: 20; top: 166px; left: 30px; } .container form:before, .container form:after, .container form .input-inform:before, .container form .title:before { content: ''; position: absolute; background: rgba(204,204,204,0.13); height: 1px; } .container form:before { width: 315px; transform: rotate(37.2deg); left: -28px; top: -11px; } .container form:after { width: 320px; left: -31px; bottom: 35px; transform: rotate(-39deg); } .container form .title { border-bottom: 1px solid #67e2fb; padding-bottom: 9px; margin: 0 0 30px 9px; width: 95px; } .container form .title:before { width: 26px; background: #67e2fb; top: 58px; } .container form .title:after { border-top: none; border-left: none; width: 8px; height: 9px; transform: matrix(0.85,-0.7,0.8,0.6,241,37); } .container form label { display: block; color: #6b707d; font-size: 20px; font-weight: 300; line-height: 24px; } .container form .input-inform:before { width: 1px; height: 396px; left: -5px; top: -102px; } .container form input:focus { outline: none; } .container form label:last-child { font-weight: bold; letter-spacing: 1px; } .container form input[type="text"], .container form input[type="password"] { border: none; border-bottom: 1px solid #f2f2f2; display: block; width: 160px; color: #71d2ec; } .container form input[type="text"] { padding: 0 0 7px 9px; } .container form input[type="password"] { padding: 17px 0 9px 9px; } .container form #forgot-pas, .container form .enter, .container form .enter label, .container form #enter { cursor: pointer; position: relative; } .container form #forgot-pas { color: #c5c5c5; background: #fff; border: 1px solid #f2f2f2; font-size: 7px; height: 17px; width: 96px; top: 6px; left: 25px; } .container form .enter { width: 50px; height: 50px; top: 50px; left: 148px; } .container form .enter label:before { content: '\1F512'; color: rgba(197, 197, 197,0.6); left: 10px; top: 7px; position: relative; } .container form .enter label:hover:before { content: '\1F513'; } .container form #enter { color: #fff; border: none; font-size: 10px; background: transparent; }

Related: See More

Questions / Comments: