copyme added

This commit is contained in:
edbrz9 2022-12-31 21:30:12 +01:00
parent f340041389
commit 812fb9c8c7
1 changed files with 36 additions and 0 deletions

36
assets/css/copyme.css Normal file
View File

@ -0,0 +1,36 @@
section.copyme-containter {
position: relative;
}
span.copypopup {
position: absolute;
background-color: var(--success);
color: white;
font-size: 1.5rem;
padding: 10px;
right: -20px;
top: -5px;
transform: rotate(12deg);
opacity: 0;
}
section.copyme-containter span.success {
animation: fade-in 2s forwards;
}
@keyframes fade-in {
0% {
opacity: 0;
scale: 0%;
}
10% {
opacity: 1;
scale: 100%;
}
50% {
opacity: 1;
}
100% {
opacity: 0;
}
}