Close

Elegant Accordion Widget

This is an example of an accordion widget, designed using HTML, CSS, JavaScript, and Bootstrap framework 4. The form consists of four accordion items. Each accordion item is given a collapsible effect to hide the non-active sections. The images, font, and Bootstrap styles are imported to the code with their URLs. The body of the form is given a background color of #e6e6e6, whereas the accordion card is given a box-shadow effect of 0 0 6px rgba(0,0,0,0.2). The accordion card header has a background color of #6245dd. The title of each accordion card header is displayed with the styles of font color as #fff, font-size as 1rem, font-weight as 500, and font-family as "Roboto", sans-serif. The accordion image is given a width of 150px. JavaScript methods are used to create the minus icon on the accordion header and its functionality. Source: https://www.tutorialrepublic.com/snippets/preview.php?topic=bootstrap&file=elegant-accordion-widget

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 *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Several Related Snippets

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