Snippets tagged “gap”
2 snippets use this tag.
- How to Make Flex Items Take the Content WidthCSS
In this snippet, learn how to make flex items take the content width instead of the width of the parent container. Use either the align-items or align-self property.
- How to Set Space Between Flexbox ItemsCSS
In this tutorial, we’ll show how you can easily set distance between flexbox items. For this, we’ll use the CSS justify-content property with two of its values.