Skip to content

Instantly share code, notes, and snippets.

@rpayanm
Last active February 14, 2022 22:20
Show Gist options
  • Save rpayanm/2fa69efeb8d49e678a8fd73905bcf198 to your computer and use it in GitHub Desktop.
Save rpayanm/2fa69efeb8d49e678a8fd73905bcf198 to your computer and use it in GitHub Desktop.
.parent {
gap: 20px;
.each-item {
@supports (-webkit-touch-callout: none) and (not (translate: none)) {
margin-top: 20px;
margin-right: 20px
}
}
// on desktop
& > * + * {
margin-top: 20px;
margin-right: 20px
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment