This is another example of an accordion widget for FAQ and Answers, designed using CSS, HTML, 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 font and Bootstrap styles are imported to the code with their URLs. The accordion card is given a border style of 1px solid #eceded. The card header is given a background color of #f9fafa, and a font family style as "Roboto", sans-serif. The card header changes its background color to #ecf0f0, on hover. The card header title is displayed with the styles of font-size as 1.3rem and font-weight as bold. The accordion body is given the styles of font color as #324353, text-align as justify, and border-top as 1px solid #eceded. JavaScript methods have been used to create the minus icon on the accordion header and its functionality. Source: https://www.tutorialrepublic.com/snippets/preview.php?topic=bootstrap&file=toggle-faq-accordion
This is an example of a collapsible Toggle sidebar layout with a navbar, designed using Html, CSS, JavaScript, and Bootstrap framework 4. JavaScript methods have been used to implement the functionality of the toggle bar. The font style is imported to the code with its URL. 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 toggle bar and navbar, in an orderly manner. The body of the form is given the styles of font-family as 'Poppins', sans-serif, and background color as #fafafa. The content section is displayed using the styles of font-size as 1.1em, font-weight as 300, line-height as 1.7em, and font color as #999. The child elements of the navbar are displayed using a font-size of 15px. The navbar is given a box-shadow style of 1px 1px 3px rgba(0, 0, 0, 0.1). The toggle bar is given a background color of #005086, and a font color of #fff, which changes its background color to #318fb5, on hover. Source: https://bbbootstrap.com/snippets/bootstrap-collapsible-sidebar-navbar-74494348
This is an example of an order table with a toggle button, designed using HTML, CSS, JavaScript, and Bootstrap framework 4. The form consists of four data cells, with a toggle button attached to each cell. The status of the column is created using two success type badges, one primary type badge, and one danger type badge to display the status of the cell. JavaScript methods have been used to implement the toggle function of the buttons. The body of the form is given the styles of background as #eee, and font-family as Assistant, sans-serif. The data cells are given the styles of border-collapse as separate, border-spacing as 0 4em, background as #fff, border-bottom as 5px solid transparent, and background-clip as padding-box. The toggle button has the styles of width as 40px, height as 21px, background as grey, border-radius as 50px to get the circle shape, and padding as 3px. It is also given a cursor style as pointer to get the hand cursor effect in a hover event, and a transition effect as all 0.3s 0.1s ease-in-out. The toggle button changes its background color to blue, in the active mode. Source: https://bbbootstrap.com/snippets/bootstrap-order-table-toggle-button-29934887
This is an example of a toggle buttons card layout with animations, designed using CSS, HTML, and Bootstrap framework 4. The icons and CSS styles are imported to the code with their URLs, whereas media queries have been used to increase the responsiveness of the form. The form has eight toggle button container cards named as Normal, Transparent, Yes & No, Gravity, Pancake Stacks, Doggo Wants a Treat, Kobe Bryant Tribute, and Beer Pong. The body of the form is given a background color of #2e394d, whereas the toggle button containers are given eight different background colors. The colors are #dec387, #de8797, #87aade, #c5de87, #87ded2, #c487de, #de8787, and #decf87. The title of the toggle button container is given the styles of font as 500 14px 'Rubik', sans-serif, letter-spacing as .5px, text-transform as uppercase, and text-shadow as 0 1px 1px rgba(0,0,0,0.4). The toggle buttons are given the styles of width as 7em, background as #2e394d, height as 3em, display as inline-block, border-radius as 50px, margin as 40px, transition as all .3s ease, transform-origin as 20% center, and cursor as pointer to get the hand cursor effect on a hover event. The toggle buttons take different animations such as rotating, hooping, and rolling over when the buttons are checked as active. Source: https://codepen.io/oliviale/pen/xxboXzo
This is an example of a simple toggle button, designed using HTML, CSS, JavaScript, and Bootstrap framework 4. The menu icon is imported to the code with its URL. The JavaScript functions have been used to implement the expand feature of the toggle button. The body of the form is given a background color of #ffffff. The plus icon is given the styles of width as 100px, cursor as pointer to get the hand cursor effect on a hover event, transition as all .3s ease 0s, height as 100px, background color as #ffe581, border-radius as 50% to get the circle shape, display as flex, and position as relative. The line in the plus icon has the styles of width as 6px, height as 50px, background as #000, and border-radius as 10px. The line takes a transform effect of rotate(90deg) when it’s checked to form the links menu. The menu links are given the styles of color as #fff, font-size as 30px, visibility as hidden to be hidden when inactive, transition as .3s ease 0s and transform as scale(.5). Source: https://codepen.io/knyttneve/pen/rGLxbP
This is an example of a menu bar with gooey style animations, designed using HTML, CSS, and Bootstrap framework 4. The CSS style sheet is imported to the code with its URL. The body of the form is given the styles of background as #673ab7, color as white, and text-align as center. The menu icon is given the styles of background as #673ab7, border-radius as 100%;, width and height as 80px, margin-left as -40px, font color as white, text-align as center, line-height as 80px, transform as translate3d(0,0,0), and transition as transform ease-out 200ms. The child elements of the menu are also given the styles of background as #673ab7, which turns to white in a hover event. The buttons are given a cursor style as pointer to get the hand cursor effect in a hover event, whereas the menu button is given a gooey filter, which is imported to the code with its URL. The menu button takes the style of transform as scale(1.2,1.2) translate3d(0,0,0), in a hover event. Source: https://codepen.io/lbebber/pen/pvwZJp