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:

the replay october 8

The Replay (10/8/25): Data enrichment, CSS is back, TypeScript 5.9

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

Matt MacCormack
Oct 8, 2025 ⋅ 30 sec read
Goodbye, messy data: An engineer’s guide to scalable data enrichment

Goodbye, messy data: An engineer’s guide to scalable data enrichment

Walk through building a data enrichment workflow that moves beyond simple lead gen to become a powerful internal tool for enterprises.

Alexandra Spalato
Oct 8, 2025 ⋅ 6 min read

DesignCoder and the future of AI-generated UI

From sketches to code in minutes, DesignCoder shows how AI-generated, hierarchy-aware UIs could change the way developers prototype and ship apps.

Rosario De Chiara
Oct 7, 2025 ⋅ 5 min read

Should you use if() functions in CSS?

It’s 2025, and CSS finally thinks logically. The if() function brings real conditional styling — no hacks, no JS workarounds. Here’s how to use it right.

Ikeh Akinyemi
Oct 7, 2025 ⋅ 16 min 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