copyme added
This commit is contained in:
parent
f340041389
commit
812fb9c8c7
|
@ -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;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue