This login form is created using pure HTML and CSS. for social icons, FontAwesome is used.
index.html
style.css<!DOCTYPE html><html lang="en"><head><meta charset="UTF-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1.0"><title>Document</title><link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Outfit:wght@600&display=swap" rel="stylesheet"><link rel="stylesheet" href="style.css"><style>input.inputArea {padding: 10px;width: 91%;background: #e2deff;border: none;border-radius: 1 px;}</style></head><body><div class="container"><main><div class="right"><div class="content"><h1>Login</h1><div class="myimg"><img src="f.png" alt="facebook"><img src="i.png" alt="insta"></div><p>or use your account</p><input class="inputArea" type="text" placeholder="Email"><br><input class="inputArea" type="password" placeholder="password"><a href="#">Forgot your password?</a><br><button>Log In</button></div></div><div class="left"><h1>HTML CSS login Form</h1><p class="description">This login form is created using pure HTML and CSS. for social icons, FontAwesome is used.</p></div></main></div></body></html>
*{margin: 0;padding: 0;font-family: 'Outfit', sans-serif;}.container{position: relative;display: flex;justify-content: center;}main{background-color: transparent;height: 500px;width: 800px;position: absolute;display: flex;justify-content: center;align-items: center;top: 60px;border-radius: 14px;box-shadow: -3px 0px 32px -1px rgba(0,0,0,0.71);-webkit-box-shadow: -3px 0px 32px -1px rgb(161 159 159 / 71%);-moz-box-shadow: -3px 0px 32px -1px rgba(0,0,0,0.71);}.left{border-radius: 0px 14px 14px 0;width: 80%;height: 80%;/* border : 1px solid black; */background: linear-gradient(45deg, #8f00b3, #ff4444);display: flex;flex-direction: column;padding: 50px;text-align: center;position: relative;bottom: auto;top: auto;}.left h1{padding-top: 100px;color: white;font-weight: bold;}.left .description{color: white;font-size: 15px;font-family: 'Outfit', sans-serif;font-style: normal;}.content{padding: 50px;display: flex;flex-direction: column;align-items: center;}.right{width: 100%;height: 100%;/* border : 1px solid black; */}.right img{max-width: 30px;border-radius: 0px;margin: 10px;padding-bottom:20px;}.container h1{padding-bottom: 30px;font-weight: 900;}.container p{font-weight: 100;color: rgb(39, 39, 39);text-decoration: none;font-family: cursive;font-size: smaller;padding: 4px};input.inputArea {padding: 10px;width: 91%;background: #e2deff;border: none;border-radius: 1px;}.content a{text-decoration: none;font-weight: 200;color: rgb(39, 39, 39);text-decoration: none;font-size: 17px;padding: 30px;font-family: -webkit-pictograph;}.content button{padding: 12px;width: 50%;border-radius: 17px;background: linear-gradient(45deg, #d800ff, #5700ff);color: white;font-size: large;}
Post a Comment