Adding copy of files for grid outline effect

This commit is contained in:
aronmal 2022-10-24 18:24:39 +02:00
parent 7cf930ccf2
commit e183af7dea
Signed by: aronmal
GPG key ID: 816B7707426FC612
3 changed files with 128 additions and 2 deletions

View file

@ -0,0 +1,36 @@
@use './mixins/effects' as *;
#tiles {
height: 100vh;
width: 100vw;
display: grid;
grid-template-columns: repeat(var(--columns), 1fr);
grid-template-rows: repeat(var(--rows), 1fr);
.tile {
background-color: var(--bg-color1);
&.active {
animation: bright .3s forwards;
animation-delay: var(--delay);
}
}
}
@keyframes bright {
0% {
background-color: var(--bg-color1);
}
50% {
background-color: var(--bg-color2);
filter: brightness(130%);
outline: 1px solid white;
}
100% {
background-color: var(--bg-color2);
}
}