Background Grid

  • Use bg-grid-COLOR for adding a background grid.
  • Use bg-grid-SPACING for altering the size of the squares.
  • Use bg-grid-w-SPACING and bg-grid-h-SPACING for altering the width and the height separately.
  • Use bg-grid-border-BORDER_WIDTH for altering the thickness of the lines.

How to disable it?

tailwindcssAddons({
    utilities: {
        bgGrid: false,
    },
})
Return to top