Skip to content

Instantly share code, notes, and snippets.

@faruk09
Created September 19, 2019 10:38
Show Gist options
  • Save faruk09/9b934bf78964b6c488dfbd583891f83c to your computer and use it in GitHub Desktop.
Save faruk09/9b934bf78964b6c488dfbd583891f83c to your computer and use it in GitHub Desktop.
.custom-accordian .btn{
position: relative;
width: 100%;
text-align: left;
text-decoration: none;
color: #555;
}
.custom-accordian .btn.btn-link:before{
position: absolute;
content: "-";
right: 0;
top: 0;
border: 1px solid #555;
width: 30px;
height: 30px;
text-align: center;
border-radius: 10px;
}
.custom-accordian .btn.btn-link.collapsed:before{
/*position: absolute;*/
content: "+";
}
.custom-accordian .card-header{
background: #ccc;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment