Fix label animation

This commit is contained in:
Andrew Kingston 2023-01-20 08:14:37 +00:00
parent 1892770032
commit 89e4b8b86e
1 changed files with 3 additions and 3 deletions

View File

@ -10,11 +10,11 @@
div {
font-size: 14px;
font-weight: 500;
transform: translateY(-50%);
position: absolute;
top: 18px;
top: 10px;
color: var(--spectrum-global-color-gray-600);
transition: font-size 130ms ease-out, top 130ms ease-out;
transition: font-size 130ms ease-out, top 130ms ease-out,
transform 130ms ease-out;
}
div.placeholder {
top: 50%;