Close

‘Add to Cart’ shopping card

This is a template of a web form with a shopping card with an Add to Card button on hover, designed using HTML, CSS, and JavaScript. JavaScript functions have been used to implement hover effects. 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 220px, max-width as 310px, width as 100%, color as #333333, text-align as center, background-color as #ffffff, and line-height as 1.6em. The image has the styles of vertical-align as top, max-width as 100%, and opacity as 0.35s. The background color of icons is set to #000000 and the color is set as #ffffff. The text-transform style of icons is set as uppercase to automatically convert the text to uppercase. In a hover event, the button and icons take a transform style of translateY(100%) where the opacity of the image becomes 0.8.

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.