Skip to content

Instantly share code, notes, and snippets.

Checking out support for css
.flex-container {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 1em;
}
@supports not (gap: 1em) {
.flex-container {
margin: -0.5em;
}
.flex-container > * {
margin: 0.5em;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment