Created
March 18, 2024 19:08
Checking out support for css
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.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