Thursday, April 29, 2021

How To Create Transparent Login Form Using HTML and CSS

index.html sourse code Register sty.css sourse code *{ margin: 0; padding: 0; } .header{ display: flex; align-items: center; padding: 20px; } nav{ flex: 1; text-align: right; } nav ul{ display: inline-block; list-style-type: none; } nav ul li{ display: inline-block; margin-right: 20px; } a{ text-decoration: none; color: #555; } body { font-family: sans-serif; background-image: url(maxresdefault.jpg); background-repeat: no-repeat; overflow: hidden; background-size: cover; } .container { width: 380px; margin: auto; border-radius: 25px; background-color: rgba(0,0,0,0.1); box-shadow: 0 0 17px #333; } header { text-align: center; padding-top: 75px; } .header h1 { color: rgb(242, 255, 0); font-size: 45px; margin-bottom: 80px; } /* .main { text-align: center; } */ .main input, button { width: 300px; height: 40px; border:none; outline: none; padding-left: 40px; box-sizing: border-box; font-size: 15px; color: #333; margin-bottom: 40px; } .main button { padding-left: 0; background-color: #83acf1; letter-spacing: 1px; font-weight: bold; margin-bottom: 70px; display: inline-block; background: #ff523b; color: #fff; padding: 8px 30px; margin: 30px 0; border-radius: 30px; transition: background 0.5s; } .main button:hover { box-shadow: 2px 2px 5px #555; background-color: #7799d4; } .main input:hover { box-shadow: 2px 2px 5px #555; background-color: #ddd; } .main span { position: relative; } /* .main i { position: absolute; left: 15px; color: #333; font-size: 16px; top: 2px; } */ .footer p{ color: #8a8a8a; } .footer h3{ color: #fff; margin-bottom: 20px; } .footer-col-1, .footer-col-2, .footer-col-3, .footer-col-4{ min-width: 250px; margin-bottom: 20px; } .footer-col-1{ flex-basis: 30%; } .footer-col-2{ flex: 1; text-align: center; } .footer-col-2 h1{ width: 180px; margin-top: 20px; } .footer-col-3 .footer-col-4{ flex-basis: 12%; text-align: center; } .footer ul{ list-style-type: none; } .app-logo{ margin-top: 20px; } .app-logo img{ width: 140px; } .footer hr{ border: none; background: #b5b5b5; height: 1px; margin: 20px 0; } .copyright{ text-align: center; } .menu-icon{ width: 28px; margin-left: 20px; } @media only screen and (max-width: 800px){ nav ul{ position: absolute; top: 70px; left: 0; background: #333; width: 100%; overflow: hidden; transition: max-height 0.5s; } nav ul li{ display: block; margin-right: 50px; margin-top: 10px; margin-bottom: 10px; } nav ul li a{ color: #fff; }

ujjwalgamerz

How To Create Transparent Login Form Using HTML and CSS

index.html sourse code Register Register ...