Classic Static Flow and Modern Flex Static Flow
July 13, 2023•81 words
Classic Static Flow
- Flow from left to right
- Get to new line when reaching width limit of container
- The top rim of new line is affected by
line-height
- Thus there may be a gap between previous line and new line
- The top rim of new line is affected by
Modern Flex Static Flow
- Flow similar to classic static flow
- But the top rim of new line is not affected by
line-height
- Thus there's no gap between previous line and new line