I revisited this solution using a new CSS feature called gap decorations. Check out the new article: Flexbox Borders revisited (gap decorations)

I revisited this solution using a new CSS feature called gap decorations. Check out the new article: Flexbox Borders revisited (gap decorations)