Skip to content

Instantly share code, notes, and snippets.

@rafibomb
Created December 22, 2021 21:33
Show Gist options
  • Save rafibomb/bcab208636a3cb1fff73ff865b5cddcc to your computer and use it in GitHub Desktop.
Save rafibomb/bcab208636a3cb1fff73ff865b5cddcc to your computer and use it in GitHub Desktop.
Team Randomization
.team-block {
@include push-center;
position:relative;
max-width: 340px;
@for $i from 1 to 18 {
&[data-random-order='#{$i}'] {
order: #{$i};
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment