accordion style : demo 41

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque lacinia lacinia mauris, at ultricies leo ornare nec. Vivamus eu est vel felis dignissim tempor. Nulla facilisi. Duis molestie tortor ac tempor volutpat. Phasellus nec mi aliquet, sollicitudin neque eget, consectetur libero. Vestibulum sollicitudin sapien libero, egestas tempus eros scelerisque eu.

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque lacinia lacinia mauris, at ultricies leo ornare nec. Vivamus eu est vel felis dignissim tempor. Nulla facilisi. Duis molestie tortor ac tempor volutpat. Phasellus nec mi aliquet, sollicitudin neque eget, consectetur libero. Vestibulum sollicitudin sapien libero, egestas tempus eros scelerisque eu.

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque lacinia lacinia mauris, at ultricies leo ornare nec. Vivamus eu est vel felis dignissim tempor. Nulla facilisi. Duis molestie tortor ac tempor volutpat. Phasellus nec mi aliquet, sollicitudin neque eget, consectetur libero. Vestibulum sollicitudin sapien libero, egestas tempus eros scelerisque eu.

HTML

                        

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque lacinia lacinia mauris, at ultricies leo ornare nec. Vivamus eu est vel felis dignissim tempor. Nulla facilisi. Duis molestie tortor ac tempor volutpat. Phasellus nec mi aliquet, sollicitudin neque eget, consectetur libero. Vestibulum sollicitudin sapien libero, egestas tempus eros scelerisque eu.

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque lacinia lacinia mauris, at ultricies leo ornare nec. Vivamus eu est vel felis dignissim tempor. Nulla facilisi. Duis molestie tortor ac tempor volutpat. Phasellus nec mi aliquet, sollicitudin neque eget, consectetur libero. Vestibulum sollicitudin sapien libero, egestas tempus eros scelerisque eu.

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque lacinia lacinia mauris, at ultricies leo ornare nec. Vivamus eu est vel felis dignissim tempor. Nulla facilisi. Duis molestie tortor ac tempor volutpat. Phasellus nec mi aliquet, sollicitudin neque eget, consectetur libero. Vestibulum sollicitudin sapien libero, egestas tempus eros scelerisque eu.

CSS

                        a:hover,a:focus{
                            text-decoration: none;
                            outline: none;
                        }
                        #accordion .panel{
                            border: none;
                            box-shadow: none;
                            border-radius: 0;
                            margin-bottom: 0;
                        }
                        #accordion .panel-heading{
                            padding: 0;
                            border: none;
                            border-radius: 0;
                        }
                        #accordion .panel-title a{
                            display: block;
                            padding: 14px 45px 14px 21px;
                            background: #fff;
                            font-size: 14px;
                            font-weight: bold;
                            color: #eb5d7b;
                            border-bottom: 2px solid #eb5d7b;
                            position: relative;
                            transition: all 0.5s ease 0s;
                        }
                        #accordion .panel-title a.collapsed{
                            border-bottom: 2px solid #dadada;
                            color: #4b4673;
                        }
                        #accordion .panel-title a.collapsed:hover{
                            border-bottom: 2px solid #eb5d7b;
                            color: #eb5d7b;
                        }
                        #accordion .panel-title a:before,
                        #accordion .panel-title a.collapsed:before{
                            content: "\f068";
                            font-family: "Font Awesome 5 Free";
                            font-weight: 900;
                            width: 35px;
                            height: 35px;
                            line-height: 35px;
                            background: #eb5d7b;
                            position: absolute;
                            top: 9px;
                            right: 0;
                            font-size: 14px;
                            color: #fff;
                            text-align: center;
                            transition: all 0.5s ease 0s;
                        }
                        #accordion .panel-title a.collapsed:before{
                            content: "\f067";
                            background: #dadada;
                        }
                        #accordion .panel-title a.collapsed:hover:before{
                            background: #eb5d7b;
                        }
                        #accordion .panel-body{
                            font-size: 13px;
                            color: #888;
                            line-height: 25px;
                            padding: 10px 20px;
                            position: relative;
                            border: none;
                            transition: all 0.5s ease 0s;
                        }
                    

JavaScript

(Accordion depend on jQuery and Bootstrap.)
                        
                        
                    
License Terms