Skip to content

SixArm/sixarm_css_grid_layout_with_flexbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SixArm.com » CSS »
Grid layout with flexbox

To accomplish a CSS grid layout with flexbox, we use the excellent work published by Philip Walton, in the open source "Solved By Flexbox" repository: https://github.com/philipwalton/solved-by-flexbox/blob/master/demos/grids.md

Files:

Changes

We have edited the CSS code with the goal of making it easier for beginners:

  • Added comments, examples, and annotations
  • Included the basic grid and grid cell, and omitted all other components.
  • Included the basic media queries, and omitted all other media queries.

Naming Conventions

The CSS code uses the naming conventions of SuitCSS:

  • .ComponentName
  • .ComponentName-partName

Media queries

The layout uses media queries to enable responsive pages:

  • A small screen shows each grid cell as a row.
  • A large screen shows each grid cell as a column.

About

SixArm.com » CSS » Grid layout with flexbox

Topics

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published