This is an example of an E-commerce single product card that open details on a hover event, designed using HTML, CSS, and Bootstrap framework 4. The images and font styles 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 list items, in an orderly manner. The body of the form is given the styles of font-family as 'Open Sans', serif, and background as #AB47BC. The product card is given the styles of transform as translate(-50%, -50%), width as 300px, height as 400px, box-shadow as 0 20px 40px rgba(0, 0, 0, .2), border-radius as 5px, and background as #0e0e0f. The product name is displayed with a font-size of 20px. The product prize is given a font-weight style as bold, font color as #000, and font-size as 30px. The five list items are given five colors in the boxes. The product details section is given a bottom value as 160px, which changes to 0, in a hover event to display the product specifications. Source:https://bbbootstrap.com/snippets/ecommerce-single-product-card-open-detail-hover-49583085
Post Comment or Questions
Lorem ut labore et dolore magna aliqua. Ut enim ad minim veniam.