JSPM

tailwindcss-breakpoints

1.0.2
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2
  • Score
    100M100P100Q23551F
  • License MIT

Advanced breakpoint system for TailwindCSS

Package Exports

  • tailwindcss-breakpoints
  • tailwindcss-breakpoints/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (tailwindcss-breakpoints) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

tailwindcss-breakpoints

Advanced breakpoint system for TailwindCSS

Variant Rule Description
<sm @media (max-width: 640px) { ... } Enable utility when the screen width is less than 640px
<md @media (max-width: 768px) { ... } Enable utility when the screen width is less than 768px
<lg @media (max-width: 1024px) { ... } Enable utility when the screen width is less than 1024px
<xl @media (max-width: 1280px) { ... } Enable utility when the screen width is less than 1280px
<2xl @media (max-width: 1536px) { ... } Enable utility when the screen width is less than 1536px

Example

text-lg p-8 <sm:text-md <sm:p-4