feat: updated alert animation

main
psychobunny 4 years ago
parent 4eef1fb5b0
commit 26b1c02c58

@ -7,14 +7,21 @@
bottom: 0px; bottom: 0px;
.alert { .alert {
overflow: hidden;
position: relative;
&::before { &::before {
position: relative; transition: inherit;
top: -15px;
left: -15px;
display: block; display: block;
height: 2px; position: absolute;
z-index: 0;
opacity: 0.1;
top: 0;
left: 0;
bottom: 0;
width: 0; width: 0;
transition: inherit; height: 100%;
} }
&.alert-info::before { &.alert-info::before {

Loading…
Cancel
Save