accordion style : demo 30

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc dui ligula, blandit non maximus id, tempus vitae nulla. Cras nec turpis vitae libero eleifend consequat. Phasellus eu rutrum erat. Etiam id urna sed odio placerat gravida. Integer molestie lectus eu.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc dui ligula, blandit non maximus id, tempus vitae nulla. Cras nec turpis vitae libero eleifend consequat. Phasellus eu rutrum erat. Etiam id urna sed odio placerat gravida. Integer molestie lectus eu.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc dui ligula, blandit non maximus id, tempus vitae nulla. Cras nec turpis vitae libero eleifend consequat. Phasellus eu rutrum erat. Etiam id urna sed odio placerat gravida. Integer molestie lectus eu.

HTML

                        
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc dui ligula, blandit non maximus id, tempus vitae nulla. Cras nec turpis vitae libero eleifend consequat. Phasellus eu rutrum erat. Etiam id urna sed odio placerat gravida. Integer molestie lectus eu.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc dui ligula, blandit non maximus id, tempus vitae nulla. Cras nec turpis vitae libero eleifend consequat. Phasellus eu rutrum erat. Etiam id urna sed odio placerat gravida. Integer molestie lectus eu.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc dui ligula, blandit non maximus id, tempus vitae nulla. Cras nec turpis vitae libero eleifend consequat. Phasellus eu rutrum erat. Etiam id urna sed odio placerat gravida. Integer molestie lectus eu.

CSS

                        a:hover, a:focus{
                            outline: none;
                            text-decoration: none;
                        }
                        #accordion .panel{
                            border: none;
                            box-shadow: none;
                            margin: 0;
                        }
                        #accordion .panel-heading{
                            padding: 0;
                            background: #f6f7f7;
                        }
                        #accordion .panel-title a{
                            position: relative;
                            display: block;
                            font-size: 14px;
                            font-weight: bolder;
                            color: #b6367f;
                            background: transparent;
                            padding: 15px 50px;
                            text-transform: uppercase;
                            transition: all 0.10s linear 0s;
                        }
                        #accordion .panel-title a i{
                            font-size: 16px;
                            position: absolute;
                            top: 15px;
                            left: 20px;
                        }
                        #accordion .panel-title a.collapsed{
                            color: #808080;
                            border-bottom: 1px solid #d3d3d3;
                        }
                        #accordion .panel-title a.collapsed:hover{
                            color: #b6367f;
                        }
                        #accordion .panel-title a:after,
                        #accordion .panel-title a.collapsed:after{
                            content: "\f00c";
                            font-family: "Font Awesome 5 Free";
                            font-weight: 900;
                            width: 50px;
                            height: 45px;
                            text-align: center;
                            font-size: 20px;
                            background: #fff;
                            color: #b6367f;
                            line-height: 45px;
                            position: absolute;
                            top: 0;
                            right: 0;
                        }
                        #accordion .panel-title a.collapsed:after{
                            content: "\f00d";
                            color: #808080;
                        }
                        #accordion .panel-body{
                            font-size: 14px;
                            color: #808080;
                            border-top: 0 none;
                        }
                    

JavaScript

(Accordion depend on jQuery and Bootstrap.)
                        
                        
                    
License Terms