Skip to content

Commit

Permalink
feat(snackbar): add transition styles
Browse files Browse the repository at this point in the history
  • Loading branch information
apust committed Oct 5, 2020
1 parent 46761e7 commit 6e7c430
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/packages/core/src/snackbar/snackbar.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@
border-radius: var(--S4);
background-color: var(--N800);
box-shadow: 0px 8px 32px rgba(0, 0, 0, 0.24), 0px 1px 4px rgba(0, 0, 0, 0.04);
transition: bottom 200ms ease-out;
}

._e_snackbar_hidden {
bottom: calc(-1 * var(--S64));
}

._e_snackbar__text {
Expand Down

0 comments on commit 6e7c430

Please sign in to comment.