Adding copy of files for grid outline effect
This commit is contained in:
parent
7cf930ccf2
commit
e183af7dea
3 changed files with 128 additions and 2 deletions
36
frontend/src/styles/home2.scss
Normal file
36
frontend/src/styles/home2.scss
Normal 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);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue