
Security News
NIST Under Federal Audit for NVD Processing Backlog and Delays
As vulnerability data bottlenecks grow, the federal government is formally investigating NIST’s handling of the National Vulnerability Database.
postcss-position-nib
Advanced tools
PostCSS plugin to shorthand position rules like nib does.
.shorthand {
relative: 0;
absolute: 0;
fixed: 0;
}
.full {
relative: top right bottom left;
absolute: top right bottom left;
fixed: top right bottom left;
}
.oneDirection {
absolute: top;
}
.oneDirectionPush {
absolute: top 10px;
}
.twoDirection {
absolute: top right;
}
.twoDirectionPush {
absolute: top -10px right -50px;
}
.threeDirection {
fixed: bottom right top;
}
.threeDirectionPush {
fixed: bottom 10px right 10px top 10px;
}
.shorthand {
position: relative;
position: absolute;
position: fixed;
}
.full {
position: relative;
top: 0;
right: 0;
bottom: 0;
left: 0;
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
}
.oneDirection {
position: absolute;
top: 0;
}
.oneDirectionPush {
position: absolute;
top: 10px;
}
.twoDirection {
position: absolute;
top: 0;
right: 0;
}
.twoDirectionPush {
position: absolute;
top: -10px;
right: -50px;
}
.threeDirection {
position: fixed;
bottom: 0;
right: 0;
top: 0;
}
.threeDirectionPush {
position: fixed;
bottom: 10px;
right: 10px;
top: 10px;
}
postcss([ require('postcss-position-nib') ])
See PostCSS docs for examples for your environment.
FAQs
PostCSS plugin to shorthand position rules like nib does
The npm package postcss-position-nib receives a total of 0 weekly downloads. As such, postcss-position-nib popularity was classified as not popular.
We found that postcss-position-nib 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
As vulnerability data bottlenecks grow, the federal government is formally investigating NIST’s handling of the National Vulnerability Database.
Research
Security News
Socket’s Threat Research Team has uncovered 60 npm packages using post-install scripts to silently exfiltrate hostnames, IP addresses, DNS servers, and user directories to a Discord-controlled endpoint.
Security News
TypeScript Native Previews offers a 10x faster Go-based compiler, now available on npm for public testing with early editor and language support.