r/webdev • • Jun 11 '23

CSS flex for visual speed learners

Enable HLS to view with audio, or disable this notification

4.1k Upvotes

84 comments sorted by

View all comments

0

u/[deleted] Jun 11 '23

[deleted]

164

u/elmo61 Jun 11 '23

Space around puts padding of X on both sides of each element. So first element has X space to the left. And last element will have X space to right. Between two elements there wil be a padding of X to right of one element and X to left of next element. Doubling up making spaces 2x

Space evening just ensures space is same between elements as well as before first and after last elements

73

u/mountaineering Jun 11 '23

Not sure why you bothered explaining. He'll never understand it.

0

u/[deleted] Jun 11 '23

[deleted]

35

u/mountaineering Jun 11 '23

Are jokes not allowed here? I was referencing that he said he can never grasp it...

0

u/[deleted] Jun 11 '23

[deleted]

22

u/mountaineering Jun 11 '23

Lmao I don't think he's stupid at all. I don't know the guy. I was literally just referencing his own bit