A short CSS tutorial that compares inline, block, flex and inline-flex display values, and shows how inline-flex can fix alignment of SVG icons and links without disrupting the surrounding layout.
What you’ll learn
✓Compare inline, block, flex and inline-flex display values
✓Keep inline-level flow while using flexbox for internal layout
✓Fix alignment of SVG icons and links with display: inline-flex