Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 639 Bytes

README.md

File metadata and controls

26 lines (20 loc) · 639 Bytes

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>