Skip to content

Instantly share code, notes, and snippets.

View Peterimie's full-sized avatar

Peter Imiefase Sarah Peterimie

View GitHub Profile
@Peterimie
Peterimie / over.html
Created May 18, 2022 15:17
HOW TO USE DARK OVERLAY IN YOUR CSS STYLING
<!DOCTYPE html>
<html>
<head>
<title>overlay</title>
<style type="text/css">
body{margin: 0;background-color: skyblue;}
#a{
background-image: url("b1.jpg");
background-repeat: no-repeat;
background-size: cover;
<Doctype! html>
<html>
<head>
<title>The login page</title>
</head>
<body>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<title>The Login Page</title>
</head>
<body style="margin: 0;">
<form>
<h2>My Login Page</h2>
<!DOCTYPE html>
<html>
<head>
<title>The Login Page</title>
<style>
form {
background-color: lightgray;
height:500px;
width: 100%;
<button type="submit">Login</button><br><br>
<label>
<input type="checkbox" checked="checked" name="remember"> Remember me
</label>
button {
background-color:green;
color: white;
padding: 2%;
font-size: large;
border: none;
cursor: pointer;
width: 20%;
}
<span style="float:right;">Forgot <a href="#">password?</a></span>