Security News
38% of CISOs Fear They’re Not Moving Fast Enough on AI
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
@avalanche/object-grid
Advanced tools
Fluid width, responsive grid system.
npm install @avalanche/object-grid --save
This package requires that node-sass (or one of the grunt, gulp, etc. equivalents) in combination with the node-sass-magic-importer custom importer is used.
// Import the main file.
@import '~@avalanche/object-grid';
// Import just the mixin file.
@import '~@avalanche/object-grid/scss/mixin';
<div class="o-grid">
<div class="o-grid__item">
<div>Grid item 1</div>
</div>
<div class="o-grid__item">
<div>Grid item 2</div>
</div>
<div class="o-grid__item">
<div>Grid item 3</div>
</div>
</div>
Activate horizontal / vertical gutter modifier classes via the $o-grid-horizontal-gutter
/ $o-grid-vertical-gutter
map variables.
$o-grid-horizontal-gutter: (l);
$o-grid-vertical-gutter: (l);
<div class="o-grid o-grid--horizontal-gutter-l o-grid--vertical-gutter-l">
<div class="o-grid__item">
<div>Grid item 1</div>
</div>
<div class="o-grid__item">
<div>Grid item 2</div>
</div>
<div class="o-grid__item">
<div>Grid item 3</div>
</div>
<div class="o-grid__item">
<div>Grid item 4</div>
</div>
</div>
To activate gutter breakpoint modifier classes, use the $o-grid-horizontal-gutter-breakpoints
/ $o-grid-vertical-gutter-breakpoints
map variables.
$o-grid-horizontal-gutter-breakpoints: (
l: (m),
);
$o-grid-vertical-gutter-breakpoints: (
l: (m),
);
<div class="o-grid o-grid--horizontal-gutter-l@m o-grid--vertical-gutter-l@m">
<div class="o-grid__item">
<div>Grid item 1</div>
</div>
<div class="o-grid__item">
<div>Grid item 2</div>
</div>
<div class="o-grid__item">
<div>Grid item 3</div>
</div>
<div class="o-grid__item">
<div>Grid item 4</div>
</div>
</div>
@import '~@avalanche/object-grid/scss/mixin';
// Usage.
.grid {
@include o-grid();
@include o-grid-horizontal-gutter(1em, '.grid__item');
@include o-grid-vertical-gutter(1em, '.grid__item');
}
.grid__item {
@include o-grid-item();
}
Markus Oberlehner
Twitter: https://twitter.com/MaOberlehner
PayPal.me: https://paypal.me/maoberlehner
MIT
FAQs
Fluid width, responsive grid system
The npm package @avalanche/object-grid receives a total of 0 weekly downloads. As such, @avalanche/object-grid popularity was classified as not popular.
We found that @avalanche/object-grid demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.
Security News
Company News
Socket is joining TC54 to help develop standards for software supply chain security, contributing to the evolution of SBOMs, CycloneDX, and Package URL specifications.