Security News
The Dark Side of Open Source
At Node Congress, Socket CEO Feross Aboukhadijeh uncovers the darker aspects of open source, where applications that rely heavily on third-party dependencies can be exploited in supply chain attacks.
bootstrap-xxs
Advanced tools
Readme
This project provides support for handling smaller screen sizes with Bootstrap 3 (CSS version only).
The new breakpoints are
xxs
at 480pxxxs
at 480px and tn
at 384pxNew classes are:
col-xxs-[1-12]
with corresponding -pull-
, -push-
and -offset-
hidden-xxs
visible-xxs
, visible-xxs-block
, visible-xxs-inline
, visible-xxs-inline-block
-tn-
(only included in xxs-tn
version)Download and include bootstrap-xxs-tn.css or bootstrap-xxs.css in your project. This will handle most functions.
For full support you have to patch your bootstrap.css
(tested only with v3.2.0)
@media \(max-width: ?767px\)( ?\{\n? *.(visible|hidden))
@media (min-width: 480px) and (max-width: 767px)$1
Same usage as for xs
, sm
, md
or lg
.
There is a small (and ugly) script, which provides the browser width, calculated difference to the next breakpoints and recognised size by CSS. It requires jQuery (tested only with v1.11.1). Include bsdebug.js in your project (after jQuery), reload.
Now resize your browser and watch the overlay.
Alternative: Use it from a bookmarklet. Create a new bookmark with target:
javascript:(function%20(){var%20n=document.createElement('script');n.setAttribute('language','JavaScript');n.setAttribute('src','https://raw.githubusercontent.com/auipga/bootstrap-xxs/master/bsdebug_bookmarklet.min.js?rand='+new%20Date().getTime());document.body.appendChild(n);})();
FAQs
Breakpoints at 480px and 384px for Bootstrap 3
The npm package bootstrap-xxs receives a total of 412 weekly downloads. As such, bootstrap-xxs popularity was classified as not popular.
We found that bootstrap-xxs 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
At Node Congress, Socket CEO Feross Aboukhadijeh uncovers the darker aspects of open source, where applications that rely heavily on third-party dependencies can be exploited in supply chain attacks.
Research
Security News
The Socket Research team found this npm package includes code for collecting sensitive developer information, including your operating system username, Git username, and Git email.
Security News
OpenJS is warning of social engineering takeovers targeting open source projects after receiving a credible attempt on the foundation.