2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-23 20:40:36 +03:00

Add dedicated accordion component based on Collapse JS

This commit is contained in:
Mark Otto
2020-11-02 21:36:51 +02:00
committed by XhmikosR
parent f20335b6c1
commit 6a37612540
9 changed files with 260 additions and 83 deletions
-27
View File
@@ -213,30 +213,3 @@
}
}
}
//
// Accordion
//
.accordion {
overflow-anchor: none;
> .card {
overflow: hidden;
&:not(:last-of-type) {
border-bottom: 0;
@include border-bottom-radius(0);
}
&:not(:first-of-type) {
@include border-top-radius(0);
}
> .card-header {
@include border-radius(0);
margin-bottom: -$card-border-width;
}
}
}