
Security News
Django Joins curl in Pushing Back on AI Slop Security Reports
Django has updated its security policies to reject AI-generated vulnerability reports that include fabricated or unverifiable content.
github.com/karolis-sh/tailwind-bootstrap-grid
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
Unknown package
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
Django has updated its security policies to reject AI-generated vulnerability reports that include fabricated or unverifiable content.
Security News
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.
Security News
A new Node.js homepage button linking to paid support for EOL versions has sparked a heated discussion among contributors and the wider community.