14 lines
322 B
SCSS
14 lines
322 B
SCSS
@use "dancing";
|
|
@use "util";
|
|
@use "sass:math";
|
|
|
|
$rainbow: red, green, orange, blue, yellow, indigo, violet;
|
|
|
|
.dancing-letters{
|
|
@for $i from 1 through 16{
|
|
& > span:nth-child(#{$i}){
|
|
background-color: util.choose($rainbow);
|
|
transform: rotate(util.random(-15, 15) + deg);
|
|
}
|
|
}
|
|
} |