Fix label animation
This commit is contained in:
parent
90adf46861
commit
357b39a6f9
|
@ -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%;
|
||||||
|
|
Loading…
Reference in New Issue