Coding task · Angular course · Module 13: UI and Styling
Practice: Tailwind in Angular
Tailwind uses utility classes directly in HTML: one class is usually one CSS property, e.g. p-6 is padding, shadow-lg is a shadow and hover:shadow-xl changes the shadow on hover. The sm:, md:, lg: prefixes turn a class on from a given screen width.
Task
Complete the card component with Tailwind CSS classes: the card needs a white background and the image the same corner radius as the card.