In my Angular-6 project, I have been using ng-bootstrap along with ngbootstrap-pills. I attempted to include active pills for the dropdown icon by removing the button option, but unfortunately, it did not work. Does anyone know the correct way to accomplish this?
You can find the code on Stack Blitz here.
This is a snippet of my .css code:
.nav-pills .nav-link.active, .nav-pills.show> .nav-link {
color: #fff;
background-color: #262262;
}
a:after {
content: url('https://image.flaticon.com/icons/svg/60/60995.svg');
height: 0;
width: 0;
border-left: 6px solid transparent;
border-right: 6px solid transparent;
border-bottom: 6px solid #fff;
position: absolute;
bottom: -1px;
left: 50%;
margin: 0 0 0 -3px;
z-index: 100;
}
I wanted to achieve something similar to the image below:
https://i.sstatic.net/lfQ9h.png
Thank you.