Fix label animation

This commit is contained in:
Andrew Kingston 2023-01-20 08:14:37 +00:00
parent 90adf46861
commit 357b39a6f9
1 changed files with 3 additions and 3 deletions

View File

@ -10,11 +10,11 @@
div { div {
font-size: 14px; font-size: 14px;
font-weight: 500; font-weight: 500;
transform: translateY(-50%);
position: absolute; position: absolute;
top: 18px; top: 10px;
color: var(--spectrum-global-color-gray-600); 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 { div.placeholder {
top: 50%; top: 50%;