Changed copy function to show visually when stuff has been copied

This commit is contained in:
rain
2023-06-01 16:59:06 -05:00
parent 9be1edf3cd
commit 3803cb8763
4 changed files with 28 additions and 2 deletions
+20 -1
View File
@@ -127,4 +127,23 @@ input[type=text]{
color: var(--accent-color);
font-weight: bold;
cursor: pointer;
}
}
.animate { animation: disappear 1s linear; }
.copyAlert {
background: var(--dark-accent-color);
color: var(--header-text);
border-radius: inherit;
line-height: 3vw;
position: absolute;
height: 100%;
width: 100%;
opacity: 0;
left: 0;
top: 0;
}
@keyframes disappear {
0% { opacity: 0; }
5% { opacity: 1; }
100% { opacity: 0; }
}