make copeme popup on center of element

This commit is contained in:
edbrz9 2023-01-01 21:55:32 +01:00
parent b0b52e5388
commit 88f014eb51
1 changed files with 13 additions and 12 deletions

View File

@ -1,6 +1,9 @@
section.copyme-containter {
position: relative;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
}
span.copypopup {
@ -9,8 +12,6 @@ span.copypopup {
color: white;
font-size: 1.5rem;
padding: 10px;
right: -20px;
top: -5px;
transform: rotate(12deg);
opacity: 0;
}