Soft Form
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>Soft Form Dark</title> | |
| </head> | |
| <body> | |
| <div class="form"> | |
| <h2>Login</h2> | |
| <form action="#" method="post"> | |
| <div class="input"> | |
| <div class="inputBox"> | |
| <label>User</label> | |
| <input type="text" name="" placeholder="example@xyz.com"> | |
| </div> | |
| <div class="inputBox"> | |
| <label>Password</label> | |
| <input type="text" name="" placeholder="......"> | |
| </div> | |
| <div class="inputBox"> | |
| <label>Password</label> | |
| <input type="Submit" name="" value="Sing in"> | |
| </div> | |
| <p class="forget">Forget Password ? <a href="#">Click Here</a></p> | |
| </div> | |
| </form> | |
| </div> | |
| </body> | |
| </html> | |
| <style type="text/css"> | |
| *{ | |
| margin: 0px; | |
| padding: 0px; | |
| box-sizing: border-box; | |
| font-family: arial; | |
| } | |
| body{ | |
| display: flex; | |
| justify-content: center; | |
| align-items: center; | |
| min-height: 100vh; | |
| background-color: #131419; | |
| } | |
| .form{position: relative; width: 350px; padding: 40px 40px 60px; background-color: #131419; border-radius: 10px; text-align: center; box-shadow: -5px -5px 10px rgba(255,255,255,0.05), | |
| 5px 5px 15px rgba(0,0,0,0.05);} | |
| .form h2{color: #c7c7c7; font-weight: 500; text-transform: uppercase; letter-spacing: 4px;} | |
| .form .input{text-align: left; margin-top: 40px;} | |
| .form .input .inputBox{margin-top: 20px;} | |
| .form .input .inputBox label{display: block; color: #868686; margin-bottom: 5px; font-size: 18px;} | |
| .form .input .inputBox input{width: 100%; height: 50px; background-color: #131419; border: none; outline: none; border-radius: 40px; padding: 5px 15px; color: #fff; font-size: 18px; color: #03a9f4; box-shadow: inset -2px -2px 6px rgba(255,255,255,0.1), | |
| inset 2px 2px 6px rgba(0,0,0,0.8);} | |
| .form .input .inputBox input[type="Submit"]{ | |
| margin-top: 20px; | |
| box-shadow: -2px -2px 6px rgba(255,255,255,0.1), | |
| 2px 2px 6px rgba(0,0,0,0.8);} | |
| } | |
| .form .input .inputBox input[type="Submit"]:active{ | |
| color: #006c9c; | |
| margin-top: 20px; | |
| box-shadow: -2px -2px 6px rgba(255,255,255,0.1), | |
| 2px 2px 6px rgba(0,0,0,0.8); | |
| } | |
| .form .input .inputBox input::placeholder{ | |
| color: #555; | |
| font-size: 18px; | |
| } | |
| .forget{ | |
| margin-top: 30px; | |
| color: #555; | |
| } | |
| .forget a{ | |
| color: #ff0047; | |
| } | |
| </style> | |

Comments
Post a Comment