2021-04-02
2624
#css
Lawrence Eagles
41038
Apr 2, 2021 ⋅ 9 min read

How to build a custom grid with SASS

Lawrence Eagles Senior full-stack developer, writer, and instructor.

Recent posts:

vitest 4 adoption guide

Vitest 4 adoption guide: Overview and migrating from Jest

Learn how Vitest 4 makes migrating from Jest painless, with codemods, faster tests, native ESM, browser testing, and a better DX.

Onuorah Bonaventure
Dec 18, 2025 ⋅ 15 min read
type vs interface typescript

Types vs. interfaces in TypeScript

Learn when to use TypeScript types vs. interfaces, with practical guidance on React props, advanced mapped and template literal types, performance tradeoffs, and common pitfalls.

Yan Sun
Dec 18, 2025 ⋅ 12 min read

I tested 5 AI CLI tools: Here’s how they stack up

A hands-on comparison of five AI coding CLIs, tested by building the same React Todo app.

Emmanuel John
Dec 18, 2025 ⋅ 10 min read
the replay december 17

The Replay (12/17/25): React2Shell, Shopify Winter ‘26, and more

Discover what’s new in The Replay, LogRocket’s newsletter for dev and engineering leaders, in the December 17th issue.

Matt MacCormack
Dec 17, 2025 ⋅ 34 sec read
View all posts

2 Replies to "How to build a custom grid with SASS"

  1. The title of this article is quite misleading. The techniques described are all based on old float/clear methods. Nothing to do with CSS Grid, or how it addresses css page layout. Waste of a click for me, and potentially confusing to a CSS beginner.

  2. Hello Adrian, Lawrence Eagles here.

    Truly the article does not directly talk about CSS Grid. It is aimed at teaching readers how CSS Grid works by building a custom grid — that has features similar to those in CSS Grid.

    The knowledge acquired during this process can then foster the reader’s understanding of CSS gird.

    I choose to use CSS float because it is straightforward.

    Below are some of our post on CSS Grid:

    https://blog.logrocket.com/full-bleed-layout-css-grid/

    https://blog.logrocket.com/how-to-use-css-grid-to-build-a-responsive-web-layout/

    Hope this helps.

Leave a Reply

Hey there, want to help make our blog better?

Join LogRocket’s Content Advisory Board. You’ll help inform the type of content we create and get access to exclusive meetups, social accreditation, and swag.

Sign up now