Close

Collapsible comment section with icons

This is an example of a collapsible comment section, designed using HTML, CSS, JavaScript, and Bootstrap framework 4. JavaScript functions are used to implement the collapsible feature. The form consists of a hidden comments section, which can be revealed by clicking on the comment link. It is also given a button to add new comments. The data-target attribute with the data-toggle="collapse" method has been used in HTML to implement the collapsible function for the comment section. The user image is imported to the code with its URL. The body of the form is given a background color as #eee. The number of comments section has a cursor style as pointer to get the hand cursor effect, as well as a text-decoration as underline. The badge is given the background color as orange and font-size as 11px. The gray dot is given a style set of height and width as 7px, margin-top as 3px, background-color as #bbb, border-radius as 50% to get the circle shape and display as inline-block. Source: https://bbbootstrap.com/snippets/bootstrap-collapsible-comment-section-fontawesome-icons-88973761

Post Comment or Questions

Lorem ut labore et dolore magna aliqua. Ut enim ad minim veniam.

Your email address will not be published. Required fields are marked *

Several Related Snippets

Lorem ut labore et dolore magna aliqua. Ut enim ad minim veniam.