
Research
/Security News
60 Malicious Ruby Gems Used in Targeted Credential Theft Campaign
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
fluent-css
Advanced tools
cd node_modules/fluent-css
// ../node_modules/fluent-css
npm install
fluent-css.json
for your personal settings (will be created in your project-root)// ../node_modules/fluent-css
npm run init
// ../node_modules/fluent-css
npm run build
@import 'fluent-css'; // absolute path from your stylesheet e.g. -> ./fluent-css/fluent-css by default
<div class="padding-px pb-14 pl-14">
...
</div>
<div class="margin-percent mb-14 ml-14-important">
...
</div>
.padding-px {
&.pb-1 {
padding-bottom: 1px;
}
&.pb-1-important {
padding-bottom: 1px !important;
}
// also with minus for margin (invalid for padding!)
&.mb-neg-1 {
margin-bottom: -1px;
}
}
<div class="display-inline-block">
<!-- easy! right? -->
</div>
// units: rem, em, px, percent
.margin-px.m-1 // margin: 1px
.margin-px.mb-1 // margin-bottom: 1px; mb, mt, ml, mr
.margin-percent.mb-1 // up to 64 .mb-64
.padding-px.mb-1
// !important
.margin-px.mb-1-important
// negative (not valid for padding!)
.margin-px.mb-neg-1
// dotted, dashed, solid, double, groove, ridge, inset, outset, thin, medium, thick, initial, inherit
.border-1
.border-solid
.border-solid-1 // (1-5)
.border-solid-thin
.border-solid-thin-green // 140 colors
.border-left-1
.border-left-solid
.border-left-solid-1-green
// static, absolute, fixed, relative, sticky, initial, inherit
.position-absolute
.position-absolut-important
// units: rem, em, px, percent
.position-px.top-1 // top: 1px
/*
inline, block, contents, flex, grid, inline-block, inline-flex, inline-grid, inline-table, list-item, run-in, table, table-caption, table-column-group, table-header-group, table-footer-group, table-row-group, table-cell, table-column, table-row, none, initial, inherit
*/
.display-inline
.display-inline-important
.z-index-0 // 0-64
.z-index-0-important
// units: rem, em, px, percent
.font-size-px.font-size-1;
.font-size-percent.font-size-5; // 0, 5, 10... steps of 5 on percent
.font-weight-bold // 100-900, lighter, bold, bolder, normal
.font-color-green
.font-style-italic // normal, italic, oblique, initial, inherit
fluent-css.json
, but you can manually overwrite the settings like this.npm run build -- --output='./css'
npm run build -- --watch
npm run watch
npm run build -- --sourcemaps=false
npm run build -- --compress=false
npm run build -- --gzip
npm run gzip -- --clean=false
npm run build -- --filename=main.css
npm run build -- --filename=main.scss
npm run build -- --filename=main
.css
will only create css files. Adding .scss
will only create scss files, filename without ending will create both, scss and css files.npm run build -- --packages='display, position'
npm run build -- --clean=false
npm run clean
npm run build -- --gzip --compress=false --souremap=false --ouput=./css filename=main
FAQs
write fluent css
The npm package fluent-css receives a total of 5 weekly downloads. As such, fluent-css popularity was classified as not popular.
We found that fluent-css 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
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
Security News
The CNA Scorecard ranks CVE issuers by data completeness, revealing major gaps in patch info and software identifiers across thousands of vulnerabilities.
Research
/Security News
Two npm packages masquerading as WhatsApp developer libraries include a kill switch that deletes all files if the phone number isn’t whitelisted.