Close

‘Add to cart’ card with image and rating

This is a template of a web form with a shopping card with an Add to Card button and a rating with hover effects, designed using HTML and CSS. The icons, images, and fonts are imported to the form with their URLs. The image card is given the styles of font-family as 'Raleway', Arial, sans-serif, position as relative, overflow as hidden, margin as 10px, min-width as 400px, max-width as 480px, width as 100%, background as #1a1a1a, color as #ffffff, text-align as center, border-radius as 8px, and box-shadow as 0 0 5px rgba(0, 0, 0, 0.15). The image has the styles of background-color as #000000, width as 50%, overflow as hidden, and vertical-align as top. The name title is given a text-transform style of uppercase to convert the text to uppercase, font-weight of 400, of #ffffff, and letter-spacing as 1px. The price is displayed in two colors, #f39c12 and #ffffff. The opacity of the image becomes 0.6 and takes a transform of scale(1.1) in a hover effect.

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 *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Several Related Snippets

Lorem ut labore et dolore magna aliqua. Ut enim ad minim veniam.