Skip to content

Instantly share code, notes, and snippets.

@Sparkles-Laurel
Created November 26, 2024 18:20
Show Gist options
  • Save Sparkles-Laurel/7909f75858f01b5aac0cf76d404fc9df to your computer and use it in GitHub Desktop.
Save Sparkles-Laurel/7909f75858f01b5aac0cf76d404fc9df to your computer and use it in GitHub Desktop.
cascading pride flags
.rainbow {
width: 50em;
height: 10em;
background: linear-gradient(to left, #ff00ff, #0000ff, #00ffff, #00ff77, #00ff00, #00ff00, #ffff00, #ff7700, #ff0000);
/* animation: widen 10s infinite; */
}
.trans-flag {
width: 50em;
height: 10em;
background: linear-gradient(to right, #5BCEFA, #F5A9B8, #FFFFFF, #F5A9B8, #5BCEFA);
/*! animation: widen 10s infinite; */
}
.enby-flag {
width: 50em;
height: 10em;
background: linear-gradient(to right, #FFF42F, #FFFFFF, #9C57CF, #000000);
/*! animation: widen 10s infinite; */
}
@keyframes widen {
from {
width: 0em;
}
to {
width: 50em;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment