Skip to content

Commit

Permalink
Add copy animation
Browse files Browse the repository at this point in the history
  • Loading branch information
altan-me committed Dec 12, 2023
1 parent 4807e2c commit 08defeb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions views/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,11 @@ p {
-khtml-user-select: none;
}

#click:active {
transition: background-color 0.1s;
background-color: #2888d9 !important;
}

.ip {
cursor: pointer;
}
Expand Down
2 changes: 1 addition & 1 deletion views/index.pug
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ block layout-content
div.hub
h1
span.heading IP
span#click.ip(data-tooltip='Copy to Clipboard')= message
span#click.ip(data-tooltip='Click to Copy')= message

0 comments on commit 08defeb

Please sign in to comment.