Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
postcss-grid-fluid
Advanced tools
A PostCSS plugin to create fluid grids.
Install the npm module:
$ npm install postcss-grid-fluid --save-dev
Require the PostCSS plugin:
postcss([ require('postcss-grid-fluid') ])
See PostCSS usage to setup with Gulp, Grunt, Webpack, npm scripts…
$ npm install postcss-cli --save-dev
Add a script to package.json:
"scripts": {
"build": "postcss -u postcss-grid-fluid -i src/styles.css -o dist/styles.css"
}
$ npm run build
Global settings rule (and default values):
@gf {
width: 1, /* width of one blob */
gutter: 0, /* width of the gutter */
display: flex /* float or flex */
}
gf: row ([gutter])
Rows are intended to contain a blob. They have a negative right margin.
px
or rem
.
.my-row {
gf: row 1.5rem;
}
gf: blob [width](/[total]) ([gutter]) ([display])
px
or rem
.float
or flex
.
.my-blob {
gf: blob 0.75;
}
.my-blob-with-offset {
gf: blob 3/4 1.5rem float;
}
0.1.0
FAQs
A PostCSS plugin to create fluid grids.
The npm package postcss-grid-fluid receives a total of 10 weekly downloads. As such, postcss-grid-fluid popularity was classified as not popular.
We found that postcss-grid-fluid 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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.