
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
Helpful classes for make margin, padding, font-size and some other styles
Feel free to let me know what else you want added via:
You can use npm for install tha package
npm install --save size-css
Or just download *.css or *.scss files
wget https://raw.githubusercontent.com/ancor-dev/size-css/master/dist/size-css.min.css
wget https://raw.githubusercontent.com/ancor-dev/size-css/master/dist/size-css.min.css.map
Simple usage
Just include the style
<link rel="stylesheet" href="node_modules/size-css/dist/size-css.min.css">
and add css classes where you need.
<div>Some text</div>
<div class="offset-sm-top">...<span class="fz-20">...</span>...</div>
Customize (using SASS preprocessor)
size-css/sass/_variables.scss to your style directory@import 'variables';@import '~size-css/sass/size-css';Default sizes:
xs: 10px // extra small
sm: 15px // small
: 20px // default
md: 25px // middle
lg: 30px // large
el: 40px // extra large
Vertical offsets(top & bottom):
Horizontal offsets(left & right):
Offset for only one side:
If you want to remove offset specify prefix no-:
Useing padding
For use padding instead of margin just write inset instead of offset.
Examples:
Default sizes: fromm 8px to 40px with 2px step
Requirements:
Do the steps:
git clone https://github.com/ancor-dev/size-css.gitcd size-cssnpm installnpm run cssFAQs
Helpful classes for make margin, padding, font-size and some other styles
The npm package size-css receives a total of 4 weekly downloads. As such, size-css popularity was classified as not popular.
We found that size-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.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.