JSPM

tailwindcss-half-container

1.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1
  • Score
    100M100P100Q20242F
  • License ISC

Half widths to compliment the container plugin.

Package Exports

  • tailwindcss-half-container

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-half-container) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Tailwindcss Half Container Component

A useful component for when you have two full width columns but want to keep your text in both to be in the max width of the page.

Helpful if you have a layout like this for example.

Example Layout

How To Use

plugins: [
  ...other plugins,
  require('tailwindcss-half-container')({
    // center: false,
    // padding: 0
  })
]
  <div class="flex w-full">
    <div class="half-container"></div>
    <div class="half-container--end"></div>
  </div>