
Research
Security News
Lazarus Strikes npm Again with New Wave of Malicious Packages
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
tachyons-vertical-align
Advanced tools
Performance based css module.
290 | 32 | 32 |
---|---|---|
bytes | selectors | declarations |
npm install --save-dev tachyons-vertical-align
git clone https://github.com/tachyons-css/tachyons-vertical-align
Import the css module
@import "tachyons-vertical-align";
Then process the CSS using the tachyons-cli
$ npm i -g tachyons-cli
$ tachyons-cli path/to/css-file.css > dist/t.css
The built CSS is located in the css
directory. It contains an unminified and minified version.
You can either cut and paste that css or link to it directly in your html.
<link rel="stylesheet" href="path/to/module/css/tachyons-vertical-align">
The source CSS files can be found in the src
directory.
Running $ npm start
will process the source CSS and place the built CSS in the css
directory.
/*
VERTICAL ALIGN
*/
.v-base { vertical-align: baseline; }
.v-sub { vertical-align: sub; }
.v-sup { vertical-align: super; }
.v-txt-top { vertical-align: text-top; }
.v-txt-btm { vertical-align: text-bottom; }
.v-mid { vertical-align: middle; }
.v-top { vertical-align: top; }
.v-btm { vertical-align: bottom; }
@media screen and (min-width: 48em) {
.v-base-ns { vertical-align: baseline; }
.v-sub-ns { vertical-align: sub; }
.v-sup-ns { vertical-align: super; }
.v-txt-top-ns { vertical-align: text-top; }
.v-txt-btm-ns { vertical-align: text-bottom; }
.v-mid-ns { vertical-align: middle; }
.v-top-ns { vertical-align: top; }
.v-btm-ns { vertical-align: bottom; }
}
@media screen and (min-width: 48em) and (max-width: 64em) {
.v-base-m { vertical-align: baseline; }
.v-sub-m { vertical-align: sub; }
.v-sup-m { vertical-align: super; }
.v-txt-top-m { vertical-align: text-top; }
.v-txt-btm-m { vertical-align: text-bottom; }
.v-mid-m { vertical-align: middle; }
.v-top-m { vertical-align: top; }
.v-btm-m { vertical-align: bottom; }
}
@media screen and (min-width: 64em) {
.v-base-l { vertical-align: baseline; }
.v-sub-l { vertical-align: sub; }
.v-sup-l { vertical-align: super; }
.v-txt-top-l { vertical-align: text-top; }
.v-txt-btm-l { vertical-align: text-bottom; }
.v-mid-l { vertical-align: middle; }
.v-top-l { vertical-align: top; }
.v-btm-l { vertical-align: bottom; }
}
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)MIT
FAQs
Performance based css module.
We found that tachyons-vertical-align demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers 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
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.
Security News
Opengrep continues building momentum with the alpha release of its Playground tool, demonstrating the project's rapid evolution just two months after its initial launch.