
Security News
The Changelog Podcast: Practical Steps to Stay Safe on npm
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.
@fabiocaccamo/wall.css
Advanced tools
Pure (s)css responsive block-grid with extra features. đź§±
npm install @fabiocaccamo/wall.css
https://cdn.jsdelivr.net/npm/@fabiocaccamo/wall.css@latest/dist/css/wall.min.css
<div class="wall wall--cols-5 wall--ratio-3-2 wall--rounded-5 wall--spacing-5">
    <div class="wall-col">
        <a href="#">
            <img src="https://via.placeholder.com/500x500" />
        </a>
    </div>
    <div class="wall-col">
        <!-- ... -->
    </div>
    <div class="wall-col">
        <!-- ... -->
    </div>
    <!-- ... -->
</div>
xs (can be omitted, it's implicit)sm > 576pxmd > 768pxlg > 992pxxl > 1200pxxxl > 1400px.wall .wall--{breakpoint}-cols-{n}
Set the number of columns to display, {n} supported values are from 1 to 12, default 12.
.wall .wall--{breakpoint}-spacing-{n}
.wall .wall--{breakpoint}-spacing-x-{n}
.wall .wall--{breakpoint}-spacing-y-{n}
Set the spacing between the items, {n} supported values are: 0, 1, 2, 3, 4, 5, 8, 10, 12, 15, 16, 20, 24, 25, 30, 32, 40, 50, 60, 70, 80, 90, 100, default 0.
.wall .wall--{breakpoint}-ratio-{n-n}
Set the aspect-ratio of the items, {n-n} supported values are: 1/1, 2/1, 1/2, 3/1, 1/3, 3/2, 2/3, 4/3, 3/4, 16/9, default unset.
.wall .wall--{breakpoint}-rounded-{n}
Set the border-radius of the items, {n} supported values are: 0, 2, 3, 4, 5, 6, 8, 10, 12, 15, 20, 24, 30, default 0.
.wall .wall--{breakpoint}-rounded
Set the border-radius of the items to 100%, it can be used together with .wall--ratio-1-1 to make circle items.
The modifiers above operate on the following css variables, that is possible to override:
--columns: 12;
--spacing: 10px;
--spacing-x: unset;
--spacing-y: unset;
--rounded: 0px;
--ratio: 1 / 1;
@import "wall";
$wall-columns: 12 !default;
$wall-spacing: 0, 1, 2, 3, 4, 5, 8, 10, 12, 15, 16, 20, 24, 25, 30, 32 !default;
$wall-ratio: ((1, 1), (2, 1), (3, 1), (3, 2), (4, 3), (16, 9)) !default;
$wall-rounded: 0, 2, 3, 4, 5, 8, 10, 12, 15, 16, 20, 24, 25, 30, 32 !default;
$wall-breakpoints: (
    xs: 0,
    sm: 576px,
    md: 768px,
    lg: 992px,
    xl: 1200px,
    xxl: 1400px
) !default;
Released under MIT License.
FAQs
Pure (s)css responsive block-grid with extra features.
We found that @fabiocaccamo/wall.css demonstrated a healthy version release cadence and project activity because the last version was released less than 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
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.

Security News
Experts push back on new claims about AI-driven ransomware, warning that hype and sponsored research are distorting how the threat is understood.

Security News
Ruby's creator Matz assumes control of RubyGems and Bundler repositories while former maintainers agree to step back and transfer all rights to end the dispute.