Socket
Socket
Sign inDemoInstall

boostrap-queries

Package Overview
Dependencies
0
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    boostrap-queries

Sass media query library based on Bootrap v5 breakpoints


Version published
Weekly downloads
1
decreased by-50%
Maintainers
1
Install size
8.57 kB
Created
Weekly downloads
 

Readme

Source

Bootstrap Queries

Sass mixins based on bootstraps V5 media query breakpoints

Install

npm i boostrap-queries

Mixins

Create a media query finishing at <576px

@include screen-x-small() {
  ...
}

Create a media query finishing at ≥576px

@include screen-x-small() {
  ...
}

Create a media query starting at ≥768px

@include screen-medium() {
  ...
}

Create a media query starting at ≥992px

@include screen-large() {
  ...
}

Create a media query starting at ≥1200px

@include screen-extra-large() {
  ...
}

Create a media query starting at ≥1400px

@include screen-extra-extra-large() {
  ...
}

Functions

Get x-small dimension

$bootstrap-x-small: get-x-small();

Get small dimension

$bootstrap-small: get-small();

Get medium dimension

$bootstrap-medium: get-medium();

Get large dimension

$bootstrap-large: get-large();

Get extra-large dimension

$bootstrap-extra-large: get-extra-large();

Get extra-extra-large dimension

$bootstrap-extra-extra-large: get-extra-extra-large()

Utils

Hide elements at any bootstrap v5 screen width

@include hide-at-screen(get-small(), flex);

FAQs

Last updated on 14 Sep 2023

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc