A beginner walkthrough of utility-first CSS using hand-written stand-in classes for spacing, flex, gap, colour, type and a responsive prefix. It composes a plan card in a browser and then extracts it into a component, without using real Tailwind.
What youβll learn
βApply spacing, flex and gap utility classes to lay out a card
βUse colour, type and width utilities to style interface elements
βAdd a responsive prefix and extract a reusable component