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. Source: https://codepen.io/ahmadbassamemran/pen/zXwZKo
This is an example of an accordion that displays the details and summary, designed using HTML, CSS, and Bootstrap framework 4. The body of the form is given the styles of font-family as "IBM Plex Sans", sans-serif, and background-color as rgba(0,0,0,.1), whereas the header of the form is given the styles of margin as 20px auto 80px, font-size as 38px, font-weight as 300, text-align as center, letter-spacing as 2px, and line-height as 1.5. The details section of the accordion has the styles of width as 75%, min-height as 5px, max-width as 700px, padding as 45px 70px 45px 45px, margin as 0 auto, position as relative, font-size as 22px, border as 1px solid rgba(0,0,0,.1), border-radius as 15px, box-sizing as border-box, and transition as all .3s. The summary section of the accordion is given the styles of display as flex, justify-content as space-between, align-items as center, font-weight as 500, and cursor as pointer to get the and cursor effect. The summary section takes a style of box-shadow as 0 0 0 4px #f6f7f8, 0 0 0 5px rebeccapurple, in a focused event. Source: https://codepen.io/frogmcw/pen/deqRwa
This is an example of a quote cards grid layout with the content displayed in an accordion, designed using HTML, CSS, JavaScript, and Bootstrap framework 4. The quotes are imported to the code with the URL, whereas the JavaScript functions have been used to implement the accordion expand feature. The body of the form is given the styles of background as #e6e6e6, padding as 50px 0, font-family as 'Noto Serif', serif. The quote cards can be displayed either in card layout or row layout. The quote grid is given the styles of max-width as 1000px, margin as 0 auto, font-family as 'Noto Serif', serif, theme-color-primary as #383838, and color as #414141. The quote caption has the styles of color as #414141, font-size as 40px, and font-weight as bold. The quote cards take the styles of border-radius as 10px, margin as 10px, and box-shadow as 0 4px 8px 0 rgba(0, 0, 0, 0.1), 0 6px 20px 0 rgba(0, 0, 0, 0.09), in the card layout. The accordion of the card is given the styles of position as relative, display as block, background as #f7f7f7, border-radius as .25em, cursor style as pointer to get the hand cursor effect, margin-bottom as .125em, padding as .75rem 1em, z-index as 20, border as 1px solid #cccccc, text-align as center, and font-size as 13px, which takes the background color of #ccc, in a hover event. Source: https://codepen.io/zinggrid/pen/ZVJZEM
This is an example of a horizontal accordion, designed using HTML, CSS, and Bootstrap framework 4. The fonts are imported to the code with its URL. The colors used in the form are predefined. The body of the form is given the styles of background as $clr-bg, color as $clr-text, and font-family as 'Open Sans', sans-serif. The accordion is given four child elements, which are given the styles of display, block, float as left, height as 100vh, width as 40px, overflow as hidden to hide the content, background as $clr-bg-light, text-align as center, font-size as 14px, line-height as 40px + 10, and transition as background 300ms ease. In a hover event, the background color of the child elements turn to $clr-primary and gets the cursor style as pointer t get the hand cursor effect. The accordion child element title is given a transform effect of rotate(90deg), which turns to display none in a checked event, which hides the title when the element is clicked. Source: https://codepen.io/milesmanners/pen/QEQPjw
This is an example of an accordion image gallery, designed using HTML, CSS, and Bootstrap framework 4. The background images are imported to the code with their URLs. The body of the image container is given the styles of padding as 75px 0, margin as 0 auto, and width as 1140px. The form title is given the styles of position as relative, margin-bottom as 45px, font-family as 'Oswald', sans-serif, font-size as 44px, text-transform as uppercase to get the hand cursor effect, and color as #424242. The image gallery wrap is given width as 100%, and height as 70vh, whereas the image is given width as 32px. The accordion item has the styles of flex as 1, height as 100%, background-position as center, background-size as cover, transition as flex 0.8s ease, which turns its flex value to 7, in a hover event to increase the size of the image. Source: https://codepen.io/stefcharle/pen/Gydvbx
This is an example of a product template, powered by an accordion feature, which is designed using HTML, CSS, JavaScript, and Bootstrap framework 4. The fonts and images are imported to the code with their URLs. The concept of Lists has been used with UL and LI components. UL element has been used with the child elements of LI to display the child elements of the accordion in an orderly manner. The media queries are also used to increase the responsiveness of the form. JavaScript functions are used to implement the accordion expand features, search button function, and add item features. The colors used in the form are predefined. The body of the form is given the styles of font-family as "Roboto", sans-serif, and background as @white. The title of the accordion is given the styles of font-size as 1.8rem, font-weight as 300, and text-transform as uppercase to automatically convert the text to uppercase. The accordion items are given a cursor style as pointer to get the hand cursor effect, whereas the content of the accordion has the styles of background-color as rgba(255, 255, 255, 0.8), color as @black, font-size as 1.6rem, and letter-spacing as 0.15rem. Source: https://codepen.io/robinsavemark/pen/qOJgPZ