Chen Hui Jing avatar Chen Hui Jing

Flexbox and padding

Screenshot of “Flexbox and padding”

Chen Hui Jing helps fix a little issue with overflowing Flexbox containers:

If you have tried to apply padding to a flex container with an horizontal overflow behaviour of scroll, you might notice that the padding is not applied to the flex end side of your container.

  1. I'm a developer, not a graphic designer, so I genuinely wonder if CSS Grid and Flexbox automated layout and space management would be better for the flexible Web than such rigid artificial grids. I'm really wondering.

    Responsive Grid Design: Ultimate Guide

    This article highlights the most important aspect of the responsive grid and how product designers can adapt grids in their design workflow.

    Image from Tweet