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

Comparing version 0.0.1 to 0.0.2

2

package.json
{
"name": "boostrap-queries",
"version": "0.0.1",
"version": "0.0.2",
"description": "Sass media query library based on Bootrap v5 breakpoints",

@@ -5,0 +5,0 @@ "main": "bootstrap-queries.scss",

# Bootstrap Queries
Sass mixins based on bootstraps V5 media query breakpoints
### Example
### Install
```
npm i boostrap-queries
```
### Mixins
Create a media query finishing at <576px
```scss
@include screen-x-small() {
...
}
```
Create a media query finishing at ≥576px
```scss
@include screen-x-small() {
...
}
```
Create a media query starting at ≥768px
```scss
@include screen-medium() {
...
}
```
Create a media query starting at ≥992px
```scss
@include screen-large() {
...
}
```
Create a media query starting at ≥1200px
```scss
@include screen-extra-large() {
...
}
```
Create a media query starting at ≥1400px
```scss
@include screen-extra-extra-large() {
...
}
```
### Functions
Get x-small dimension
```scss
$bootstrap-x-small: get-x-small();
```
Get small dimension
```scss
$bootstrap-small: get-small();
```
Get medium dimension
```scss
$bootstrap-medium: get-medium();
```
Get large dimension
```scss
$bootstrap-large: get-large();
```
Get extra-large dimension
```scss
$bootstrap-extra-large: get-extra-large();
```
Get extra-extra-large dimension
```scss
$bootstrap-extra-extra-large: get-extra-extra-large()
```

Sorry, the diff of this file is not supported yet

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