Security News
The Push to Ban Ransom Payments Is Gaining Momentum
Ransomware costs victims an estimated $30 billion per year and has gotten so out of control that global support for banning payments is gaining momentum.
bootstrap-grid-ms
Advanced tools
Readme
The missing grid range in Bootstrap 3, below sm
, from 480 to 767 pixels, redefining xs
to less than 480 pixels.
bower install --save bootstrap-grid-ms
Use the col-ms-*
, hidden-ms
, visible-ms
, and visible-ms-*
classes, e.g.:
<div class="col-ms-6">
...
</div>
Using LESS or SCSS/Sass, you can redefine the default Bootstrap breakpoints, and bootstrap-grid-ms
will respect those.
You will need Bootstrap LESS installed, e.g. via Bower:
bower install --save bootstrap
In your LESS, somewhere after importing Bootstrap, import the LESS file:
@import "bower_components/bootstrap/less/bootstrap";
@import "bower_components/bootstrap-grid-ms/less/bootstrap-grid-ms";
You will need an SCSS/Sass version of Bootstrap, which is not included in this module's default Bower dependencies.
bower install --save bootstrap-sass
In your SCSS/Sass, somewhere after importing Bootstrap, import the SCSS file:
@import "bower_components/bootstrap-sass/assets/stylesheets/bootstrap";
@import "bower_components/bootstrap-grid-ms/scss/bootstrap-grid-ms";
Or use the CSS file, somewhere after Bootstrap:
@import "bower_components/bootstrap-grid-ms/dist/bootstrap-grid-ms.min.css";
Originally taken from from: https://gist.github.com/wdollar/135ec3c80faaf5a821b0
Original notes:
This is a hack to fill the gap between 480 and 767 pixels - a missing range in the bootstrap responsive grid structure. Use these classes to style pages on cellphones when they transition from portrait to landscape.
Contains: Columns, Offsets, Pushes, Pulls for the Mid-Small layout
Visibility classes for the Mid-Small layout
Redefined visibility classes for the Extra Small layout
See https://github.com/twbs/bootstrap/issues/10203 for more info.
Forked from: https://gist.github.com/Jakobud/8eca95f07a3b50453cd7
Original gist: https://gist.github.com/andyl/6360906
FAQs
Bootstrap Grid Micro-Small (480-767px)
We found that bootstrap-grid-ms 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.
Security News
Ransomware costs victims an estimated $30 billion per year and has gotten so out of control that global support for banning payments is gaining momentum.
Application Security
New SEC disclosure rules aim to enforce timely cyber incident reporting, but fear of job loss and inadequate resources lead to significant underreporting.
Security News
The Python Software Foundation has secured a 5-year sponsorship from Fastly that supports PSF's activities and events, most notably the security and reliability of the Python Package Index (PyPI).