Skip to content

A Tailwindcss plugin that adds a half-container utility.

Notifications You must be signed in to change notification settings

Priebojp/tailwindcss-half-container

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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>

About

A Tailwindcss plugin that adds a half-container utility.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%