Image, title and subtitle with quote on hover

This is another example of a card layout with an image, title and subtitle with a quote on hover event, designed using HTML, CSS, and JavaScript. The fonts and images are imported to the form with their URLs. JavaScript functions have been used to implement the mouse hover effects. The image card is given they styles of font-family as 'Lato', Arial, sans-serif, position as relative, display as inline-block, margin as 10px, min-width as 250px, max-width as 310px, width as 100%, background-color as #000000, color as #ffffff, text-align as left, font-size as 16px, and box-shadow as 0 0 5px rgba(0, 0, 0, 0.15). The image has the styles of vertical-align as top and max-width: 100%. The header inside the image has the styles of font-family as 'Oswald', text-transform as uppercase, font-size as20px, font-weight as 400, line-height as 24px, and margin as 3px 0 whereas the subtitle is given the styles font-weight as 400, text-transform as uppercase, color as #bbb, and letter-spacing as 1px. The quote inside is given a text style of Italic. In a hover event, the background of the card turns to background-color: rgba(0, 0, 0, 0.75). Source:

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 *

Several Related Snippets

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