A Codepen Example on Grid and Flexbox

Here’s a small example on how to use flex and grid in CSS that will work in most web browsers and other devices.


Is there a reason to rollout a custom approach over using a platform like… Bootstrap for example?

Probably not in production, unless you really want a lightweight website. It’s always worth building a rough understanding how your framework handles things under the hood though.

Sponsor our Newsletter | Privacy Policy | Terms of Service