Skip to content

Commit

Permalink
style(experience): improve notched border animation
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoyijun committed Jul 22, 2024
1 parent adbf04e commit e34dde7
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,15 +48,16 @@

.label {
position: absolute;
left: _.unit(4);
left: _.unit(3.5);
font: var(--font-body-1);
color: var(--color-type-secondary);
pointer-events: none;
top: 48%;
transform: translateY(-50%);
transition: 0.2s ease-out;
transition-property: position, font, top;
transition-property: position, font, top, color;
background-color: transparent;
padding: 0 _.unit(1);
z-index: 1;
}

Expand All @@ -71,10 +72,8 @@

.label {
top: -1px;
left: _.unit(3.5);
font: var(--font-body-3);
color: var(--color-type-secondary);
padding: 0 _.unit(1);
}
}

Expand Down

0 comments on commit e34dde7

Please sign in to comment.