Close

Category List Layout

This is an example of an image card layout depicting the item category list, designed using HTML, CSS, and Bootstrap framework 4. The images and Bootstrap styles are imported to the code with their URLs. The image is given the styles of width as 100%, and cursor as pointer to get the hand cursor effect in a hover event. The content section of the card is given the styles of position as absolute, width as 100%, text-align as center, transform as translateY(100%), background as #fffffff2, max-width as 80%, margin as 0% 10%, cursor as pointer, border-radius as 5px, padding as 15px 0px, and transition as all .5s. The subtitle of the card is given a text-transform style as uppercase to automatically convert the text to uppercase, whereas the title is given the styles of font-weight as 600, font-size as 22px, and line-height as 1.6. In a hover event, the content section takes the styles of border-radius as 50px, max-width as 90%, and margin as 0% 5% to form an oval shape. Source: https://www.tolmatol.com/bootstrap-snippets-category-list/

Post Comment or Questions

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

Your email address will not be published.

Several Related Snippets

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