Skip to content

Commit

Permalink
new scripts ready for born
Browse files Browse the repository at this point in the history
  • Loading branch information
vo6i committed Feb 8, 2024
1 parent 2292816 commit 130ebbc
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ <h2 color="white">dclxviclan</h2>
}
})*/
</script>
<a href="https://vo6i.github.io/Parallax-Scrolling-Effect/" class="btn">Hover Me</a>
<h1>dclxviclan</h1>
<a href="http://dclxviclan.itch.io/lst-d">
<img src="lxdvxl.gif">
Expand Down
32 changes: 32 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -104,3 +104,35 @@ h1 {
text-transform: uppercase;
color: white;
}

.btn {
text-decoration: none;
border: 2px solid #764abc;
color: #764abc;
padding: 10px 20px;
border-radius: 25px;
transition: all 1s;
position: relative;
overflow: hidden;
}

.btn::before {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: #764abc;
transition: all 1s;
z-index: -1;
transform: translateX(-100%);
}

.btn:hover::before {
transform: translateX(0);
}

.btn:hover {
color: #fff;
}

0 comments on commit 130ebbc

Please sign in to comment.