
Research
/Security News
Contagious Interview Campaign Escalates With 67 Malicious npm Packages and New Malware Loader
North Korean threat actors deploy 67 malicious npm packages using the newly discovered XORIndex malware loader.
bootstrap-4-grid
Advanced tools
Bootstrap v4.4.1 grid system and layout utilities.
Here's what you get that Bootstrap 4 currently doesn't provide out of the box:
If you don't need any of the above, Bootstrap 4 already includes a grid only version with its Bootstrap CSS and JS bundle.
Sass and CSS files are ready to be used in your project.
Pretty straightforward.
Just get css/grid.min.css
or css/grid.css
and add it to your project.
You will need to include the whole scss
folder contents to your project.
Then, just import grid.scss
into your project's sass file.
npm install bootstrap-4-grid
yarn add bootstrap-4-grid
We use autoprefixer to add prefixes to the css
files.
By default, the last 2 versions for each major browser is supported. To change this, follow the customization
instructions bellow.
NOTE: Sass files do not include any browser specific prefixes. If you include them in your project,
you will need to use your own post css tool to add prefixes for different browsers. If you are using
Angular CLI though, then autoprefixer
is included by default
and you don't need to worry.
The grid options are located inside the scss/grid.scss
file. If you are going to be using the sass files in
your project, changing those will suffice. If you are going to be using the CSS files, then you will need to
change the options and then compile. For more details, see the customization instructions bellow.
NOTE: If you are using the sass files and you want to avoid your options getting overridden by an update,
then copy and paste the options to your own sass file and include them before the grid
file.
You can roll your own build and/or change browser support.
Then install the dependencies:
npm install
To change the default browser support (last 2 versions currently), you will need to first change the query
in the browserlist
file, located at the root of this project. Read more about the
supported queries.
Then, run:
grunt browser
Open scss/grid.scss
and change the default options.
Then, run:
grunt
FAQs
Bootstrap 4 grid system and layout utilities
The npm package bootstrap-4-grid receives a total of 6,034 weekly downloads. As such, bootstrap-4-grid popularity was classified as popular.
We found that bootstrap-4-grid demonstrated a not healthy version release cadence and project activity because the last version was released 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.
Research
/Security News
North Korean threat actors deploy 67 malicious npm packages using the newly discovered XORIndex malware loader.
Security News
Meet Socket at Black Hat & DEF CON 2025 for 1:1s, insider security talks at Allegiant Stadium, and a private dinner with top minds in software supply chain security.
Security News
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600× faster than humans.