Login screen
How do I make an login screen?
What is a login screen? How do you make a login screen? This script and codes were developed by Hampus Persson on 13 September 2022, Tuesday.
Login screen - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Login screen</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css"> <style> /* NOTE: The styles were added inline because Prefixfree needs access to your styles and they must be inlined if they are on local disk! */ @import url(https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400);
.btn { display: block; width: 100%; padding: 14px 10px; margin-bottom: 0; line-height: 18px; color: #444; text-align: center; vertical-align: middle; background-color: #009FE3; cursor: pointer; border: none; color: white; font-size: 16px; font-weight: 300; transition: background-color 0.2s ease; outline: none;
}
.btn:hover, btn:focus { background-color: #007bb0;
}
.btn:active { background: #00587d; transform: translateY(1px); transition: none;
}
input { width: 100%; margin-bottom: 10px; background: #333; border: none; outline: none; padding: 14px 10px; font-size: 16px; font-weigth: 300; color: #fff; transition: background .2s ease;
}
input:hover { background: #363636;
}
input:focus { background: #444;
}
label { overflow: hidden; text-indent: 101%; white-space: nowrap; display: block;
}
.Login-forgotLink { display: inline-block; float: right; color: #fff; text-decoration: none; border-bottom: 1px dotted #fff; margin: 10px 0; padding-bottom: 2px; font-size: 14px;
}
* { box-sizing: border-box;
}
html { width: 100%; height: 100%; overflow: hidden; -webkit-font-smoothing: antialiased;
}
body { width: 100%; height: 100%; font-family: 'Source Sans Pro', sans-serif; font-size: 16px; font-weight: 300; background: #222;
}
.Login { position: absolute; top: 50%; left: 50%; margin: -150px 0 0 -150px; width: 300px; height: 300px;
} </style> <script src="https://cdnjs.cloudflare.com/ajax/libs/prefixfree/1.0.7/prefixfree.min.js"></script>
</head>
<body> <div class="Login"> <form method="post"> <label for="Login-email">E-mail</label> <input type="text" name="Login-email" id="Login-email" placeholder="Username" required="required" /> <label for="Login-password">Password</label> <input type="password" name="Login-password" placeholder="Password" required="required" /> <button type="submit" class="btn"><span>Log in</span></button> <a href="#" class="Login-forgotLink">I forgot my password</a> </form>
</div>
</body>
</html>
Login screen - Script Codes CSS Codes
@import url(https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400);
.btn { display: block; width: 100%; padding: 14px 10px; margin-bottom: 0; line-height: 18px; color: #444; text-align: center; vertical-align: middle; background-color: #009FE3; cursor: pointer; border: none; color: white; font-size: 16px; font-weight: 300; transition: background-color 0.2s ease; outline: none;
}
.btn:hover, btn:focus { background-color: #007bb0;
}
.btn:active { background: #00587d; transform: translateY(1px); transition: none;
}
input { width: 100%; margin-bottom: 10px; background: #333; border: none; outline: none; padding: 14px 10px; font-size: 16px; font-weigth: 300; color: #fff; transition: background .2s ease;
}
input:hover { background: #363636;
}
input:focus { background: #444;
}
label { overflow: hidden; text-indent: 101%; white-space: nowrap; display: block;
}
.Login-forgotLink { display: inline-block; float: right; color: #fff; text-decoration: none; border-bottom: 1px dotted #fff; margin: 10px 0; padding-bottom: 2px; font-size: 14px;
}
* { box-sizing: border-box;
}
html { width: 100%; height: 100%; overflow: hidden; -webkit-font-smoothing: antialiased;
}
body { width: 100%; height: 100%; font-family: 'Source Sans Pro', sans-serif; font-size: 16px; font-weight: 300; background: #222;
}
.Login { position: absolute; top: 50%; left: 50%; margin: -150px 0 0 -150px; width: 300px; height: 300px;
}
![Login screen - Script Codes](http://shots.codepen.io/hmps/pen/yFgGK-512.jpg)
Developer | Hampus Persson |
Username | hmps |
Uploaded | September 13, 2022 |
Rating | 3 |
Size | 3,699 Kb |
Views | 26,312 |
Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!
Name | Size |
Drill down table | 2,989 Kb |
Notifications | 4,111 Kb |
The media object | 2,731 Kb |
FlowText.js | 3,728 Kb |
Filter list | 3,517 Kb |
Pretty inputs | 2,773 Kb |
Slide like Mailbox | 3,758 Kb |
Badge animation | 2,732 Kb |
Inputs with floating labels | 3,078 Kb |
Style input placeholders | 1,708 Kb |
Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!
Name | Username | Size |
CSS Grid Overlay | Cliffpyles | 3,090 Kb |
Project -Show the Local Weather | Luciano_Britis | 2,583 Kb |
CSS3 Diamond | Rendro | 1,960 Kb |
Electric worm | Jeffibacache | 2,377 Kb |
Wave Lines | Mikehobizal | 4,023 Kb |
CSS only simple parallax scroll | Stanssongs | 3,708 Kb |
React Template | Isac | 1,241 Kb |
Octopus Bar iPad App Interactions | Davidkpiano | 6,735 Kb |
Coburg Banks SVG Logo | Mjtweaver | 3,875 Kb |
Popover Example | Seanboom | 2,429 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!