
Security News
npm ‘is’ Package Hijacked in Expanding Supply Chain Attack
The ongoing npm phishing campaign escalates as attackers hijack the popular 'is' package, embedding malware in multiple versions.
postcss-breakpoints
Advanced tools
PostCSS plugin Breakpoint viewport sizes and media queries..
@breakpoint 0 543px {
body {
background: red;
}
}
@breakpoint-up sm {
body {
background: orange;
}
}
@media (min-width: 0) and (max-width: 543px) {
body {
background: red;
}
}
@media (min-width: 544px) {
body {
background: orange;
}
}
postcss([ require('postcss-breakpoints')({options}) ])
See PostCSS docs for examples for your environment.
breakpoints: {
xs: '0 543px',
sm: '544px 767px',
md: '768px 991px',
lg: '992px 1199px',
xl: '1200px'
}
@[prefix]breakpoint min [max]
@breakpoint 0 1200px
@breakpoint 1200px
@[prefix]breakpoint-up breakpoint
@breakpoint-up xs
@breakpoint-up sm
@breakpoint-up md
@breakpoint-up lg
@breakpoint-up xl
@[prefix]breakpoint-down breakpoint
@breakpoint-down xs
@breakpoint-down sm
@breakpoint-down md
@breakpoint-down lg
@[prefix]breakpoint-only breakpoint
@breakpoint-only xs
@breakpoint-only sm
@breakpoint-only md
@breakpoint-only lg
@breakpoint-only xl
@[prefix]breakpoint-between breakpoint breakpoint
@breakpoint-between xs sm
@breakpoint-between sm md
@breakpoint-between md lg
FAQs
PostCSS plugin Breakpoint viewport sizes and media queries.
We found that postcss-breakpoints 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
The ongoing npm phishing campaign escalates as attackers hijack the popular 'is' package, embedding malware in multiple versions.
Security News
A critical flaw in the popular npm form-data package could allow HTTP parameter pollution, affecting millions of projects until patched versions are adopted.
Security News
Bun 1.2.19 introduces isolated installs for smoother monorepo workflows, along with performance boosts, new tooling, and key compatibility fixes.