Close

Accordion with hover effects

This is another example of an accordion layout, designed using HTML, CSS, JavaScript, and Bootstrap framework 4. JavaScript functions have been used to implement the accordion expanding functions. 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 accordion items in an orderly manner. The body of the form is given the styles of font-family as Helvetica, arial, sans-serif, background-color as #000, height as 100%, and a linear gradient background as linear-gradient(to bottom, #020111 10%,#3a3a52 100%). The accordion is given a max-width of 500px. The title of the accordion is given the styles of font-family as 'industry', sans-serif, font-weight as 300, color as #fff, text-transform as uppercase to automatically convert the text to uppercase and font-size as 1.125em. The accordion has four child elements each of which are given individual titles. The accordion child element titles are given the styles of font-family as 'industry', sans-serif, font-weight as 300, and font-size as 1em. Source: https://codepen.io/aderaaij/pen/QybEQo

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.