Skip to content

Tailwind CSS

Layout

Flex

flex

  • flex flex-row: position flex items horizontally in the same direction as text
  • flex flex-col: position flex items vertically
  • flex items-stretch: stretch items to fill the container’s cross axis
  • flex justify-start: justify items against the start of the container’s main axis
  • flex justify-center: justify items along the center of the container’s main axis
  • flex justify-end: justify items against the end of the container’s main axis

ScreenSize

  • sm:640px
  • md:768px
  • lg:1024px
  • xl:1280px
  • 2x:1536px

Text

  • Font Size :
    • text-xs
    • text-sm
    • text-base
    • text-lg
    • text-xl
    • text-2xl
    • text-3xl
    • text-4xl
    • text-5xl
    • text-6xl
    • text-7xl
    • text-8xl
    • text-9xl
  • Font Wight:
    • font-thin
    • font-extralight
    • font-light
    • font-normal
    • font-medium
    • font-semibold
    • font-bold
    • font-extrabold
    • font-black
  • Line Height:
    • leading-3
    • leading-4
    • leading-5
    • leading-6
    • leading-7
    • leading-8
    • leading-9
    • leading-10
    • leading-none
    • leading-tight
    • leading-snug
    • leading-normal
    • leading-relaxed
    • leading-loose

References