Untitled
unknown
plain_text
10 months ago
4.3 kB
16
Indexable
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Admin Panel Login</title>
<style>
body {
background-color: black;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
font-family: Arial, sans-serif;
overflow: hidden;
}
.login-container {
padding: 20px;
border-radius: 15px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
text-align: center;
width: 300px;
position: relative;
z-index: 2; /* Updated z-index */
}
.login-container h1 {
color: white;
margin-bottom: 20px;
}
.login-container input[type="text"],
.login-container input[type="password"] {
width: 100%;
padding: 10px;
margin: 10px 0;
border: none;
border-radius: 25px;
box-sizing: border-box;
}
.login-container input[type="submit"] {
width: 100%;
padding: 10px;
margin: 10px 0;
border: none;
border-radius: 25px;
background: linear-gradient(to right, pink, yellow);
color: black;
cursor: pointer;
transition: background 0.3s ease;
}
.login-container input[type="submit"]:hover {
background: linear-gradient(to right, yellow, pink);
}
.login-container .links {
display: flex;
justify-content: space-between;
margin-top: 10px;
}
.login-container .links a {
color: white;
text-decoration: none;
font-size: 14px;
}
.circle {
width: 420px;
height: 420px;
border-radius: 50% 50% 50% 50% / 60% 40% 60% 40%;
border: 2px solid white;
position: absolute;
transform: translateY(-300px);
right: -30px;
animation: spin 3s linear infinite;
z-index: 0; /* Updated z-index */
pointer-events: none; /* Added pointer-events */
}
.circle1 {
width: 420px;
height: 420px;
border-radius: 50% 50% 50% 50% / 60% 40% 60% 40%;
border: 2px solid white;
position: absolute;
transform: translateY(-300px);
right: -30px;
animation: spin 4s linear infinite;
z-index: 0; /* Updated z-index */
pointer-events: none; /* Added pointer-events */
}
.circle2 {
width: 420px;
height: 420px;
border-radius: 50% 50% 50% 50% / 60% 40% 60% 40%;
border: 2px solid white;
position: absolute;
transform: translateY(-300px);
right: -30px;
animation: spin 2s linear infinite;
z-index: 0; /* Updated z-index */
pointer-events: none; /* Added pointer-events */
}
.circle:nth-child(1) {
animation-duration: 4s;
}
.circle:nth-child(2) {
animation-duration: 6s;
}
.circle:nth-child(3) {
animation-duration: 8s;
}
@keyframes spin {
0% {
transform: translateY(-300px) rotate(0deg);
}
100% {
transform: translateY(-300px) rotate(360deg);
}
}
</style>
</head>
<body>
<div class="login-container">
<h1>Login</h1>
<form action="admin_dashboard.php" method="post">
<input type="text" name="username" placeholder="Username" required>
<input type="password" name="password" placeholder="Password" required>
<input type="submit" value="Sign In">
</form>
<div class="links">
<a href="signup.php">Sign Up</a>
<a href="forget_password.php">Forget Password</a>
</div>
<div class="circle"></div>
<div class="circle1"></div>
<div class="circle2"></div>
</div>
</body>
</html>
Editor is loading...
Leave a Comment