
Security News
Meet Socket at Black Hat and DEF CON 2025 in Las Vegas
Meet Socket at Black Hat & DEF CON 2025 for 1:1s, insider security talks at Allegiant Stadium, and a private dinner with top minds in software supply chain security.
postcss-overflow-fallbacks
Advanced tools
Postcss plugin which provides fallbacks for `overflow: clip` and `overflow: overlay`
PostCSS Provides fallbacks for overflow: clip
and overflow: overlay
.foo {
overflow-x: clip;
}
.bar {
overflow: clip overlay;
overflow-block: overlay;
}
.foo {
overflow-x: hidden;
overflow-x: clip;
}
.bar {
overflow: hidden auto;
overflow: clip overlay;
overflow-block: auto;
overflow-block: overlay;
}
Step 1: Install plugin:
npm install --save-dev postcss postcss-overflow-fallbacks
Step 2: Check you project for existed PostCSS config: postcss.config.js
in the project root, "postcss"
section in package.json
or postcss
in bundle config.
If you do not use PostCSS, add it according to [official docs] and set this plugin in settings.
Step 3: Add the plugin to plugins list:
module.exports = {
plugins: [
+ require('postcss-overflow-fallbacks'),
]
}
addOverlayFallback (default: true)
Adds auto
fallback for overlay
addClipFallback (default: true)
Adds hidden
fallback for clip
operateOnDoubleValues (default: true)
If values like clip auto
should get fallbacks
Both upgradeHiddenToClip
and add
options have been removed. Please use https://www.npmjs.com/package/postcss-overflow-clip instead.
FAQs
Postcss plugin which provides fallbacks for `overflow: clip` and `overflow: overlay`
The npm package postcss-overflow-fallbacks receives a total of 40 weekly downloads. As such, postcss-overflow-fallbacks popularity was classified as not popular.
We found that postcss-overflow-fallbacks demonstrated a healthy version release cadence and project activity because the last version was released less than 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
Meet Socket at Black Hat & DEF CON 2025 for 1:1s, insider security talks at Allegiant Stadium, and a private dinner with top minds in software supply chain security.
Security News
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600× faster than humans.
Security News
Deno 2.4 brings back bundling, improves dependency updates and telemetry, and makes the runtime more practical for real-world JavaScript projects.