
Security News
How Enterprise Security Is Adapting to AI-Accelerated Threats
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.
cssrecipes-custom-media-queries
Advanced tools
Some custom media queries shortcuts
$ npm install cssrecipes-custom-media-queries
/* for desktop first approch */
@media (--r-maxS) {
/* rules here will be active when viewport will be <= "s" size */
}
/* for mobile first approch */
@media (--r-minS) {
/* rules here will be active when viewport will be > "s" size */
}
--r-maxS <= 30em--r-minS > 30em--r-maxM <= 50em--r-minM > 50em--r-maxL <= 65em--r-minL > 65em--r-maxXL <= 80em--r-minXL > 80emTo generate a build:
$ npm run build
To generate the testing build.
$ npm run build-test
Basic visual tests are in test/index.html.
Work on a branch, install dev-dependencies, respect coding style & run tests before submitting a bug fix or a feature.
$ git clone https://github.com/cssrecipes/custom-media-queries.git
$ git checkout -b patch-1
$ npm install
$ npm test
FAQs
Some custom media queries shortcuts
The npm package cssrecipes-custom-media-queries receives a total of 58 weekly downloads. As such, cssrecipes-custom-media-queries popularity was classified as not popular.
We found that cssrecipes-custom-media-queries 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
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.

Security News
Experts push back on new claims about AI-driven ransomware, warning that hype and sponsored research are distorting how the threat is understood.