This is an example of a product filter with an accordion feature and checkboxes, designed using HTML, CSS, and Bootstrap framework 4. Media quarries have been used to increase the responsiveness of the form. The body of the form is given a background color of #f5f6f7. The panel heading is given the styles of font-family as 'Glyphicons Halflings, display as block, padding as 10px, color as #555, font-size as 11px, text-transform as uppercase to automatically convert the text to uppercase, letter-spacing as 1px, and word-spacing as 3px. The panel heading is given a transform style of rotate(180deg) to implement the collapsible effect. The checkboxes are given a height and a width of 24px, font color #fff, cursor style as pointer to get the hand cursor effect in a hover event. The checkboxes take the color of #9faab7 in a hover event, and #2874ef in a checked event. The checkbox text is given a font-family of "Font Awesome 5 Free, and a font-size of 14.66667px. The Refine search button is given a background color of #2874ef, and a font-size as 12px. Source:https://bbbootstrap.com/snippets/refine-product-filter-sidebar-collapse-accordion-custom-checkbox-98247635
This is an example of a sidebar layout with hover effects and a color theme, designed using HTML, CSS, JavaScript and Bootstrap framework 4. The JavaScript functions have been used to implement the day and night themes in a click event. The icons and images are imported to the code with the URLs. The colors used in the form are predefined as variables. The body of the form is given the styles of font-family as 'Inter UI', system-ui, font-size as 1.6rem, and background as #F6FBFF. The sidebar has the styles of background as #2B3137, font color as #FFFFFF, width as 100%, max-width as 300px, border-radius as 1rem, transition as all 200ms ease, and box-shadow as 0px 5px 12px rgba(black, .1), 0px 3px 6px rgba(black, .06). The menu buttons are given the styles of padding as 1rem 1.5rem, background as linear-gradient(to top, #2B3137, #394047), font color as #FFFFFF, border-radius as .3rem, cursor as pointer to get the hand cursor effect, box-shadow as 0px 3px 6px rgba(black, .15), and text-shadow as 0px 1px 1px rgba(black, .2). The buttons take the styles of background as #4BC6E9, and font color as #FFFFFF, in the night mode. Source: https://codepen.io/ryanparag/pen/gZEbOq
This is an example of a sidebar toggle menu, designed using HTML, CSS, and Bootstrap framework 4. The fonts 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 menu items in an orderly manner. The body of the form is given the styles of background as #fff, and font-family as 'Varela Round', sans-serif, whereas the header of the form is given size of 60px, and background color of #FC466B. The sidebar menu has the styles of height as 100%, position as fixed, width as 250px, margin-top as 60px, transform as translateX(-250px), transition as transform 250ms ease-in-out, and background as linear-gradient(180deg, #FC466B 0%, #3F5EFB 100%). The sidebar menu list items are given the styles of font color as #fff, text-transform as uppercase to automatically convert the text to uppercase, font-weight as bold, padding as 20px, cursor as pointer to get the hand cursor effect in a hover event, and border-bottom as 1px solid rgba(255, 255, 255, 0.10). Source: https://codepen.io/plavookac/pen/qomrMw
This is an example of a side-bar template, designed using HTML, CSS, JavaScript, and Bootstrap framework 4. 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 menu items in an orderly manner. JavaScript functions have been used to implement the dropdown function of the menus, whereas media quarries are used to make form responsive. The page wrapper is given the background color of #1e2229. The side-bar wrapper has the styles of width as 260px, height, and max-height as 100%, position as fixed and left as -300px. The user status section of the side-bar has the styles of font-size as 8px, margin-right as 4px, and color as #5cb85c. The side-bar menu items have the styles of margin-right as 10px, font-size as 12px, width and height as 30px, line-height as 30px, text-align as center, and border-radius as 4px. The side-bar list items take an animation effect of swing ease-in-out 0.5s 1 alternate, in a hover event. Source: https://codepen.io/azouaoui-med/pen/wpBadb
This is an example of the mouse hover effect using pure CSS styles without any JavaScript’s. The slide in animation allows expanding a menu when the mouse cursor hovers over the div whereas the slide-out animation closes the menu when the cursor moves out of the div. It uses the “transform” style to slide in and out of the div. The translated is used to make the slide in and out horizontal. The hover event in styles has been used to append the styles when the cursor gets on a specific div. The “text-transform” style has been used to convert the given HTML text into uppercase automatically by setting its value to “uppercase”. Source: https://codepen.io/codboy_3/pen/pmMzzp