E- commerce product page with carousel and radio buttons
This is an example of an e-commerce product page with carousel and radio buttons, designed using CSS, HTML, and Bootstrap framework 4. The product images are imported to the code with their URLs, whereas the media quarries have been used to increase the responsiveness of the form. The body of the form is given the styles of align-items as center, justify-content to center, background-color as RGB(186, 216, 125), font-size as 0.8rem, and font-family as 'Work Sans'. The product card is given a width of 100%, padding of 4rem, background-color of RGB(46, 45, 45), font color as white, and box-shadow as 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19). The product is given two size options to pick from, which is displayed using two radio type buttons with the styles of background color as RGB(54, 54, 54), font color as grey, and display as inline-block. In a focus event, the buttons take the styles of the border as 1px solid white, background color as RGB(54, 54, 54), and font color as #ffffff. The Add to Cart button turns its font color to white, in a hover event.