
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
@avalanche/object-container
Advanced tools
Basic container class to limit the max-width of the layout and add some padding
Basic container class to limit the max-width of the layout and add some padding.
npm install @avalanche/object-container --save-dev
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-container';
// Import just the mixin file.
@import '~@avalanche/object-container/scss/mixins';
<div class="o-container">
<h2>Lorem Ipsum</h2>
<p>Contained content.</p>
</div>
Activate size modifier classes via the $o-container-sizes
map variable.
$o-container-sizes: (
m: 64rem,
l: 96rem
);
<div class="o-container o-container--l">
<h2>Lorem Ipsum</h2>
<p>Contained content.</p>
</div>
@import '~@avalanche/object-container/scss/mixins';
// Usage.
.container {
@include o-container(64rem, 1rem);
}
Markus Oberlehner
Twitter: https://twitter.com/MaOberlehner
PayPal.me: https://paypal.me/maoberlehner
MIT
FAQs
Basic container class to limit the max-width of the layout and add some padding
The npm package @avalanche/object-container receives a total of 3 weekly downloads. As such, @avalanche/object-container popularity was classified as not popular.
We found that @avalanche/object-container 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
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.