How to Design a Grid-based Framework Using the CSS Float Propertyby@fivan

How to Design a Grid-based Framework Using the CSS Float Property

tldt arrow
Read on Terminal Reader
Read this story w/o Javascript

Too Long; Didn't Read

The basic grid-based framework uses rows and columns to layout and aligns content. It's a Bootstrap-like framework that uses rows to layout. The main classes to layout the grid are:.rororoand.col-{breakpoint}- {number of columns} The grid is based on minimum width media queries, meaning they apply to that one breakpoint and all those above it. To make the grid responsive I only needed to put the code above a media query, replacingXXXXXXXX with the corresponding breakpoint. For example, I used the Easy Clearing Method.

Company Mentioned

Mention Thumbnail
featured image - How to Design a Grid-based Framework Using the CSS Float Property
Ivan Guzman HackerNoon profile picture

@fivan

Ivan Guzman

The code tells you more than a thousand words


Receive Stories from @fivan

react to story with heart

RELATED STORIES

L O A D I N G
. . . comments & more!