accordion style : demo 13

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam congue leo in congue mattis. Phasellus leo augue, consequat vitae cursus ut, efficitur a elit. Etiam condimentum condimentum auctor. Integer sagittis mollis purus a facilisis. Aliquam vel egestas sem. Donec eget.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam congue leo in congue mattis. Phasellus leo augue, consequat vitae cursus ut, efficitur a elit. Etiam condimentum condimentum auctor. Integer sagittis mollis purus a facilisis. Aliquam vel egestas sem. Donec eget.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam congue leo in congue mattis. Phasellus leo augue, consequat vitae cursus ut, efficitur a elit. Etiam condimentum condimentum auctor. Integer sagittis mollis purus a facilisis. Aliquam vel egestas sem. Donec eget.

HTML

                        
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam congue leo in congue mattis. Phasellus leo augue, consequat vitae cursus ut, efficitur a elit. Etiam condimentum condimentum auctor. Integer sagittis mollis purus a facilisis. Aliquam vel egestas sem. Donec eget.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam congue leo in congue mattis. Phasellus leo augue, consequat vitae cursus ut, efficitur a elit. Etiam condimentum condimentum auctor. Integer sagittis mollis purus a facilisis. Aliquam vel egestas sem. Donec eget.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam congue leo in congue mattis. Phasellus leo augue, consequat vitae cursus ut, efficitur a elit. Etiam condimentum condimentum auctor. Integer sagittis mollis purus a facilisis. Aliquam vel egestas sem. Donec eget.

CSS

                        a:hover, a:focus{
                            outline: none;
                            text-decoration: none;
                        }
                        #accordion  .panel{
                            border:none;
                            outline:none;
                        }
                        #accordion  .panel-heading{
                            padding:0;
                        }
                        #accordion .panel-heading > .panel-title{
                            position: relative;
                        }
                        #accordion .panel-heading > .panel-title > a{
                            display: block;
                            font-size:14px;
                            padding:18px 35px 18px 15px;
                            text-transform:uppercase;
                            background:#3498db;
                            color:#fff;
                            transition:all 0.2s linear 0s;
                        }
                        #accordion .panel-title > a.collapsed{
                            background:transparent;
                            color:#333;
                        }
                        #accordion .panel-title > a.collapsed:hover{
                            color:#3498db;
                        }
                        #accordion .panel-title > a:after,
                        #accordion .panel-title > a.collapsed:after{
                            content: "\f139";
                            font-family: "Font Awesome 5 Free";
                            font-weight: 900;
                            color: #fff;
                            font-size: 18px;
                            line-height: 20px;
                            position: absolute;
                            right:12px;
                        }
                        #accordion .panel-title > a.collapsed:after{
                            content: "\f13a";
                            color:#808080;
                        }
                        #accordion .panel-body{
                            border:none;
                        }
                    

JavaScript

(Accordion depend on jQuery and Bootstrap.)
                        
                        
                    
License Terms