-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 9b72e1b
Showing
4 changed files
with
183 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
let mainContainer = document.getElementById("main"); | ||
let like = document.getElementById("thumb"); | ||
|
||
mainContainer.addEventListener("dblclick", () => { | ||
like.style.transform = "scale(1)"; | ||
console.log("Good"); | ||
|
||
setTimeout(function () { | ||
like.style.display = "none"; | ||
}, 1200); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title>video-reel</title> | ||
<link | ||
rel="stylesheet" | ||
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css" | ||
integrity="sha512-SnH5WK+bZxgPHs44uWIX+LLJAJ9/2PkPKZ5QiAj6Ta86w+fsb2TkcmfRyVX3pBnMFcV7oQPJkl9QevSCWr3W6A==" | ||
crossorigin="anonymous" | ||
referrerpolicy="no-referrer" | ||
/> | ||
<link | ||
href="https://cdn.jsdelivr.net/npm/remixicon@4.3.0/fonts/remixicon.css" | ||
rel="stylesheet" | ||
/> | ||
<link rel="stylesheet" href="style.css" /> | ||
</head> | ||
<body> | ||
<div class="main" id="main"> | ||
<div class="top"> | ||
<i class="fa-solid fa-arrow-left"></i> | ||
<div class="right"> | ||
<i class="fa-solid fa-camera"></i> | ||
<i class="fa-solid fa-magnifying-glass"></i> | ||
<i class="fa-regular fa-user"></i> | ||
</div> | ||
</div> | ||
|
||
<video src="foodfun-short.mp4" controls loop></video> | ||
<i class="fa-solid fa-thumbs-up" id="thumb"></i> | ||
<div class="side"> | ||
<i class="fa-solid fa-thumbs-up"></i> | ||
<i class="ri-chat-3-line"></i> | ||
<i class="ri-share-forward-line"></i> | ||
</div> | ||
|
||
<div class="profile"> | ||
<img src="my-logo.jpg" alt="My profile" /> | ||
<a href="https://www.facebook.com/profile.php?id=61551117972893" | ||
><h5>Muhammad Asad</h5></a | ||
> | ||
<button>Follow</button> | ||
</div> | ||
<p> | ||
OLX Clone Made By Muhammad <br /> | ||
Asad | ||
</p> | ||
</div> | ||
|
||
<script src="app.js"></script> | ||
</body> | ||
</html> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,118 @@ | ||
* { | ||
margin: 0; | ||
padding: 0; | ||
box-sizing: border-box; | ||
font-family: poppins sans-serif, Helvetica; | ||
} | ||
|
||
body { | ||
width: 100%; | ||
height: 100vh; | ||
background-color: aliceblue; | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
} | ||
|
||
i { | ||
cursor: pointer; | ||
} | ||
|
||
.main { | ||
width: 310px; | ||
height: 500px; | ||
background-color: rgb(65, 65, 65); | ||
display: flex; | ||
flex-direction: column; | ||
color: #fff; | ||
border-radius: 14px; | ||
border: 8px solid #062229; | ||
position: relative; | ||
} | ||
|
||
.main > video { | ||
width: 100%; | ||
margin-top: 100px; | ||
} | ||
|
||
.main > .top { | ||
display: flex; | ||
align-content: center; | ||
justify-content: center; | ||
gap: 120px; | ||
font-size: 20px; | ||
margin-top: 30px; | ||
} | ||
|
||
.main > .top > .right { | ||
display: flex; | ||
align-items: center; | ||
gap: 25px; | ||
} | ||
|
||
.main > .side { | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
flex-direction: column; | ||
gap: 15px; | ||
font-size: 19px; | ||
position: absolute; | ||
top: 34%; | ||
left: 90%; | ||
color: #000000; | ||
font-weight: 600; | ||
} | ||
|
||
.main > .profile { | ||
display: flex; | ||
align-items: center; | ||
gap: 8px; | ||
margin-top: 51px; | ||
margin-left: 20px; | ||
} | ||
|
||
.main > .profile > img { | ||
width: 45px; | ||
border-radius: 50%; | ||
cursor: pointer; | ||
} | ||
|
||
.main > .profile > a { | ||
text-decoration: none; | ||
color: #fff; | ||
} | ||
|
||
.main > .profile > a > h5:hover { | ||
text-decoration: underline; | ||
transition: 0.4s; | ||
} | ||
|
||
.main > .profile > button { | ||
border: none; | ||
border: 0.4px solid #fff; | ||
padding: 4px 10px; | ||
background: transparent; | ||
color: #fff; | ||
border-radius: 4px; | ||
cursor: pointer; | ||
font-size: 12px; | ||
} | ||
|
||
.main > p { | ||
font-size: 13px; | ||
margin-left: 23px; | ||
margin-top: 17px; | ||
line-height: 20px; | ||
} | ||
|
||
.main > #thumb { | ||
position: absolute; | ||
top: 43%; | ||
left: 45%; | ||
color: blue; | ||
font-size: 32px; | ||
opacity: 0.9; | ||
transform: scale(0); | ||
transition: all ease 0.5s; | ||
} |