In this post, I write some notes about Tailwind CSS.
The goal is to refresh my memory about utility classes that I often use in Tailwind.

This post is like a wrap for all Tailwind notes in one place.
📝 When we write things down, it help us to remember faster and not forget the basic things.

note: this post will update constantly.

  1. Font Size
    • for font size, the class is:
    • text-{size}, the size is start from xs in to 9xl
    • sample:
      • text-xs
      • text-base
      • text-sm
  2. Font Weight
    • for font weight, the class is:
    • font-{weight}, the weight option is:
      • thin
      • light
      • normal
      • medium
      • semibold
      • bold
      • extrabold
      • black
  3. Text Align
  4. Margin
  5. Padding
  6. Border
Visited 9 times, 1 visit(s) today

Leave A Comment

Your email address will not be published. Required fields are marked *