Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@vcl/breakpoints

Package Overview
Dependencies
Maintainers
4
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vcl/breakpoints

Descriptive breakpoints for responsive adaptation of components

latest
npmnpm
Version
0.6.3
Version published
Maintainers
4
Created
Source

VCL breakpoints

Descriptive breakpoints for responsive adaptation of components.

Features

The following ranges of viewport widths are defined:

  • up to 599px: extra small (mobile phone form factor)
  • 600 to 1023px: medium (tablets and narrow screen computers)
  • 1024px to 1439px: medium (tablets and narrow screen computers)
  • 1440px to 1919px: large screens
  • greater than 1920px: hi-res screens

Usage

Warning: Try to prevent responsive components as much as you can, see why.

@media (max-width: var(--bp-xs-max))
  /* mobile phone styles */

Classes

Modifiers

Media

Generic

Display widths:

  • --bp-xs-min: 0px
  • --bp-xs-max: 599px
  • --bp-sm-min: 600px
  • --bp-sm-max: 1023px
  • --bp-md-min: 1024px
  • --bp-md-max: 1439px
  • --bp-lg-min: 1440px
  • --bp-lg-max: 1919px
  • --bp-xl-min: 1920px

Demo

example.html on GH-pages.

Keywords

css

FAQs

Package last updated on 18 Nov 2019

Did you know?

Socket

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