Accordion Menu Template
This is a template of a web form with an accordion menu, designed using HTML, CSS, and Bootstrap framework 4. The concept of Lists has been used with UI and LI components. UI element has been used with the child elements of LI to display the accordion items in an orderly manner. The form is given a background color of #fcdc29. The main menu wrapper is given the styles of width as 250px, display as block, and border-radius as 10px, whereas the main menu button has the styles of display as block, padding as 15px 20px, background-color as #ff6f61, color as #fff, and position as relative. The submenu section has the styles of background as #273057, overflow as hidden to hide the visibility in the shrink mode, and transition as max-height 0.7s. The submenu content has the styles of color as #fff, font-size as 14px, and border-bottom as 1px solid #394c7f. In a hover event, the sub-menu items take the styles of background as linear-gradient(to bottom, #273057 0%,#273057 50%,#394c7f 51%,#394c7f 100%), transition as all 0.3s, and border-bottom as 1px solid #394c7f.