WebTec
WebTec
Learn everything about Webdevelopment
Home
Social Media
About
Login Form | Using HTML, CSS and JavaScript
HTML
Login Form
LOGIN
Submit
CSS
* { margin: 0; padding: 0; background: white; overflow: hidden; font-family: 'Raleway', sans-serif; } .blue { position: fixed; width: 68%; height: 2000px; top: -450px; left: -28%; background: #121D36; transform: rotate(28.16deg); } .form { text-align: center; position: absolute; z-index: 2; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 492px; height: 726px; box-shadow: -22px -20px 15px -18px rgba(255, 255, 255, 0.83), 5px 8px 14px -1px rgba(18, 29, 54, 0.51); } .form h1 { font-size: 50px; font-weight: 800; margin-top: 70px; margin-bottom: 130px; letter-spacing: 0.265em; font-family: 'Raleway', sans-serif; } .form input, .submit { width: 304px; height: 40px; border: 0; font-size: 18px; outline: none; } input.username, input.password { border-bottom: 1px solid #8D8D8D; } .form .password { margin-top: 20px; } .submit { background: #121D36; height: 53px; border-radius: 36.5px; margin-top: 80px; color: white; cursor: pointer; z-index: 0; } a{ transition: opacity 0.4s; text-decoration: none; background: transparent; color: white; } a:hover { opacity: 0.5; }
Back
Video