feat: some shit
This commit is contained in:
parent
b3091fee92
commit
93a4025df7
@ -14,7 +14,8 @@
|
||||
y: -5 + Math.random() * 10,
|
||||
x: -5 + Math.random() * 10,
|
||||
scale: 0.9 + Math.random() * 0.2,
|
||||
rot: -5 + Math.random() * 10
|
||||
rot: -5 + Math.random() * 10,
|
||||
marginTop: -10 + Math.random() * 20
|
||||
};
|
||||
})
|
||||
.reverse();
|
||||
@ -28,7 +29,7 @@
|
||||
<div class="grid">
|
||||
{#each items as item}
|
||||
<div
|
||||
style="--x: {item.x}%, --y: {item.y}%; --scale: {item.scale}; --rot:{item.rot}"
|
||||
style="--x: {item.x}%, --y: {item.y}%; --scale: {item.scale}; --rot:{item.rot}; margin-top: {item.marginTop}px"
|
||||
class="item"
|
||||
class:active={item.noble_name === last_name}
|
||||
>
|
||||
|
Loading…
Reference in New Issue
Block a user