Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
63 changes: 63 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,69 @@
</div>
</div>

<div class="card" onclick="openPage('pages/010_eddysCat.html')">

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

very necessary Obfuscation to preserve uniquness


<img class="card__img" style="background-color: #BFFF00;" src="https://i.postimg.cc/MHYrvbs5/stupid-cat.png" alt="I did it!">
<div style =
"color: #FF00FF;

font-size: 35px;
font-weight: bold;
letter-spacing: 8px;

transform: rotate(43deg);
text-shadow: 4px 4px yellow;

padding: 1.7rem 1.2rem;
position: absolute;
bottom: 12px;
left: 7px;"
>
<div class="card__message">Eddy's</div>
<div class="card__name">Cat</div>
</div>

<div style =
"color: orange;

font-size: 0x;
font-weight: bold;
letter-spacing: 2px;

transform: rotate(-27deg);
text-shadow: 4px 4px turquoise;

padding: 1.7rem 1.2rem;
position: absolute;
bottom: 79px;
left: 132px;"
>
<div class="card__message">VeRy</div>
<div class="card__name">SeRiOuS</div>
</div>

<div style =
"color: pink;

font-size: 35px;
font-weight: bold;
letter-spacing: 2px;

transform: rotate(553deg);
text-shadow: 4px 4px Lime;

padding: 1.7rem 1.2rem;
position: absolute;
top: -30px;
left: 106px;"
>
<div class="card__message">VeRy </div>
<div class="card__name">Stupid</div>
</div>


</div>


<!--

Expand Down
16 changes: 16 additions & 0 deletions pages/010_eddysCat.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
html, body {

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for best viewing experience

margin: 0;
width: 100%;
height: 100%;
overflow: hidden;
}

video {
position: fixed;
inset: 0;

width: 100vw;
height: 100vh;
object-fit: cover;

}
31 changes: 31 additions & 0 deletions pages/010_eddysCat.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@

<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Neko</title>
<link rel="stylesheet" href="010_eddysCat.css">

</head>
<body>
<video id = "video" autoplay loop playsinline>
<source src="../resources/rave_feline.mp4" type="video/mp4">
</video>

</body>

<script>

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

needed action associated to autoplay - hold and play

const video = document.getElementById("video");
video.volume = 1.0;
document.addEventListener("mousedown", () => {

video.play();
});

document.addEventListener("mouseup", () => {
video.pause();
video.currentTime = 0;
});
</script>
</html>
Binary file added resources/rave_feline.mp4

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very necessary

Binary file not shown.