Fix label animation
This commit is contained in:
parent
1892770032
commit
89e4b8b86e
|
@ -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%;
|
||||
|
|
Loading…
Reference in New Issue