Skip to content

Commit

Permalink
Merge pull request #13 from Ishaanj18/change_LoginPage
Browse files Browse the repository at this point in the history
added video background
  • Loading branch information
Ishaanj18 authored Sep 1, 2023
2 parents 731868c + ef408df commit 2e69746
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 3 deletions.
6 changes: 5 additions & 1 deletion Login/loginP.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@
<title>Document</title>
</head>
<body>


<video id="background-video" autoplay muted loop>
<source src="production_id_4562023 (720p).mp4" type="video/mp4">
Your browser does not support the video tag.
</video>
<div class="container" id="container">
<div class="form-container sign-up-container">
<form action="#">
Expand Down
15 changes: 13 additions & 2 deletions Login/loginpage.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ body {
height: 100vh;
margin: -20px 0 50px;
margin-top: 20px;
overflow: hidden;
}

h1 {
Expand Down Expand Up @@ -43,7 +44,7 @@ a {
.container {
background: #fff;
border-radius: 10px;
box-shadow: 0 14px 28px rgba(0, 0, 0, .2), 0 10px 10px rgba(0, 0, 0, .2);
box-shadow: 0 14px 28px rgba(0, 0, 0, .2), 0 10px 10px rgba(0, 0, 0, 0.301);
position: relative;
overflow: hidden;
width: 768px;
Expand Down Expand Up @@ -222,4 +223,14 @@ button.ghost {
height: 30px;
letter-spacing: 15px;
align-items: center;
}
}

#background-video {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
z-index: -1; /* Place the video behind other elements */
}
Binary file added Login/production_id_4562023 (720p).mp4
Binary file not shown.

0 comments on commit 2e69746

Please sign in to comment.