
Security News
Browserslist-rs Gets Major Refactor, Cutting Binary Size by Over 1MB
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
tailwind-bootstrap-grid
Advanced tools
Tailwind CSS plugin to generate Bootstrap flexbox grid system.
Bootstrap v5 flexbox grid system as a Tailwind CSS plugin.
Check the demo playground.
npm i -D tailwind-bootstrap-grid
In your index.css
file:
@import 'tailwindcss';
@plugin 'tailwind-bootstrap-grid' {
container_max_widths:
'sm', '540px', 'md', '720px', 'lg', '960px', 'xl', '1140px', '2xl', '1320px';
}
Or via tailwind.config.js
file:
module.exports = {
plugins: [
require('tailwind-bootstrap-grid')({
container_max_widths: [
'sm',
'540px',
'md',
'720px',
'lg',
'960px',
'xl',
'1140px',
'2xl',
'1320px',
],
}),
],
};
This will generate the Bootstrap v5 flexbox grid.
Original Bootstrap grid's options:
grid_columns
(default - 12
) - grid sizegrid_gutter_width
(default - "1.5rem"
) - container and rows gutter widthgrid_gutters
(default - [0, 0]
) - gutter variable class steps
(--bs-gutter-x
, --bs-gutter-y
)container_max_widths
(default - []
) - the max-width
container value for
each breakpointExtra options:
generate_container
(default - true
) - whether to generate .container
and
.container-fluid
classesrtl
(default - false
) - rtl support (.offset-x
classes will start
responding to [dir=ltr]
/ [dir=rtl]
)debug
(default - false
) - enable debug modeltr
or rtl
dir
attribute on your container (usually the root html
).tailwind-bootstrap-grid@3
.FAQs
Tailwind CSS plugin to generate Bootstrap flexbox grid system.
The npm package tailwind-bootstrap-grid receives a total of 3,622 weekly downloads. As such, tailwind-bootstrap-grid popularity was classified as popular.
We found that tailwind-bootstrap-grid demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
Research
Security News
Eight new malicious Firefox extensions impersonate games, steal OAuth tokens, hijack sessions, and exploit browser permissions to spy on users.
Security News
The official Go SDK for the Model Context Protocol is in development, with a stable, production-ready release expected by August 2025.