Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
prakharr5 authored Nov 30, 2023
1 parent f8c8a8e commit f792ded
Show file tree
Hide file tree
Showing 3 changed files with 131 additions and 0 deletions.
Binary file added bag.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
76 changes: 76 additions & 0 deletions styl.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
body {
display: flex;
align-items: center;
justify-content: center;
background-image: url(bag.jpg);
background-size: cover;
color: white;
}

/* Bordered form */

/* Full-width inputs */
input[type="text"],
input[type="password"] {
width: 100%;
padding: 12px 20px;
margin: 8px 0;
display: inline-block;
box-sizing: border-box;
}

/* Set a style for all buttons */
button {
background-color: #350000;
color: white;
padding: 14px 20px;
margin: 8px 0;
border: none;
cursor: pointer;
width: 100%;
}

/* Add a hover effect for buttons */
button:hover {
opacity: 0.8;
}

/* Extra style for the cancel button (red) */
.cancelbtn {
width: auto;
padding: 10px 18px;
background-color: #f44336;
}

/* Center the avatar image inside this container */
.imgcontainer {
text-align: center;
margin: 24px 0 12px 0;
}

/* Avatar image */
img.avatar {
width: 45%;
}

/* Add padding to containers */
.container {
padding: 16px;
}

/* The "Forgot password" text */
span.psw {
float: right;
padding-top: 16px;
}

/* Change styles for span and cancel button on extra small screens */
@media screen and (max-width: 300px) {
span.psw {
display: block;
float: none;
}
.cancelbtn {
width: 100%;
}
}
55 changes: 55 additions & 0 deletions two.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.10.1/gsap.min.js"></script>
<script src="script.js"></script>
<title>CafeSerenityBites</title>
<link
rel="icon"
type="image/x-icon"
href="CAFE SERENIT-fotor-2023092923402.png"
/>
<link rel="stylesheet" href="styl.css" />
</head>
<body>
<form action="index.html" method="post">
<div class="imgcontainer">
<img
src="CAFE SERENIT-fotor-2023092923402.png"
alt="Avatar"
class="avatar"
/>
</div>
<div class="container">
<label for="uname"><b>Username</b></label>
<br />
<input
type="text"
placeholder="Enter Username"
name="uname"
id="uname"
required
/>
<br />
<label for="psw"><b>Password</b></label>
<br />
<input
type="password"
placeholder="Enter Password"
name="psw"
id="psw"
required
/>
<br />
<button type="submit">Login/SignUp</button>
<br />
<label>
<input type="checkbox" checked="checked" name="remember" /> Remember
me
</label>
</div>
</form>
</body>
</html>

0 comments on commit f792ded

Please sign in to comment.