Skip to content

Commit

Permalink
Merge pull request #716 from Sudhanshu248/main
Browse files Browse the repository at this point in the history
Removing Emoticons when moving cursor
  • Loading branch information
PriyaGhosal authored Oct 15, 2024
2 parents d788de5 + fc6b67b commit 9a792bd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 21 deletions.
9 changes: 1 addition & 8 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -223,14 +223,7 @@

<script src="script.js"></script>

<div id="cursor"></div>
<script>
window.cursor={
emoji: "🌤️",
color: "black",
};

</script>


<script src="cursor.js" defer="defer"></script>

Expand Down
14 changes: 1 addition & 13 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -109,18 +109,6 @@ body {
font-family: "Poppins", sans-serif;
}

#cursor {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
pointer-events: none;
z-index: 97;
font-size: 20px;
color: black;
transition: color 0.3s ease;
}

.cloud {
position: absolute;
Expand Down Expand Up @@ -149,7 +137,7 @@ body {
background: #2C3E50;;
transition: width 0.2s ease;
}

.scroll-top-btn {
position: fixed; /* Fixed position */
bottom: 20px; /* Distance from the bottom of the viewport */
Expand Down

0 comments on commit 9a792bd

Please sign in to comment.