Skip to content

Commit

Permalink
style(Accordion): 优化 Accordion 组件样式
Browse files Browse the repository at this point in the history
  • Loading branch information
koppthe committed Oct 9, 2018
1 parent 43c6880 commit c8064ed
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/components/accordion/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,20 @@
}

&__content {
position: relative;
width: 100%;
transition: height 0.3s;
overflow: hidden;

&::after {
content: '';
display: block;
width: 100%;
height: 1PX;
position: absolute;
bottom: -1PX;
left: 0;
@include border-thin-top($width: 1PX);
}
}
}

0 comments on commit c8064ed

Please sign in to comment.