In the following example, the CSS class is imported and then applied to the element:
import customStyles from "./Home.module.css";
<div className={(customStyles.collection, "card")}>
Although they work individually, when combined as shown above, the styles are not applied to the element.