A card is a flexible and extensible content container. It can include header, footer and a wide variety of content. W3.CSS helps the developers to add paper-like effects to the elements. It contains three types of classes:
It is used to add a box shadow of 2px to the element.
It is same as the w3-card class.
It is used to add a box shadow of 4px to the element.
Example: Using different card classes in the HTML page.