Skip to content

Commit

Permalink
Removing Emoticons when moving cursor
Browse files Browse the repository at this point in the history
  • Loading branch information
Sudhanshu248 committed Oct 15, 2024
1 parent 0642734 commit fc6b67b
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 @@ -79,18 +79,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 @@ -119,7 +107,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 fc6b67b

Please sign in to comment.