38 lines
555 B
CSS
38 lines
555 B
CSS
section.copyme-containter {
|
|
position: relative;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
span.copypopup {
|
|
position: absolute;
|
|
background-color: var(--success);
|
|
color: white;
|
|
font-size: 1.5rem;
|
|
padding: 10px;
|
|
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;
|
|
}
|
|
} |