1
0
Fork 0
mirror of https://github.com/GuerillaStudio/now-playing synced 2024-11-09 17:51:52 +00:00
now-playing/assets/scss/5-modules/glitch.scss
2019-12-03 23:52:57 +01:00

25 lines
495 B
SCSS

//
// (TEXT) PARAMS
// =================
// 1. Namespace
// 2. Intensity
// 3. Text color
// 4. Background color (flat)
// 5. Highlight #1 color
// 6. Highlight #2 color
// 7. Width (px)
// 8. Height (px)
//
.glitch,
.glitch--hover:hover {
@include textGlitch("glitchText", 50, $color-bg-head, red, blue, 9999, 100);
}
.glitch:nth-child(2)::after,
.glitch--hover:hover:nth-child(2)::after,
.glitch:nth-child(2)::before,
.glitch--hover:hover:nth-child(2)::before {
animation-delay: .3s;
}