1
0
Fork 0
mirror of synced 2024-08-27 07:51:37 +12:00

Fix label animation

This commit is contained in:
Andrew Kingston 2023-01-20 08:14:37 +00:00
parent 1892770032
commit 89e4b8b86e

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%;