mirror of
https://github.com/cupcakearmy/nicco.io.git
synced 2024-11-01 00:24:12 +01:00
25 lines
333 B
Svelte
25 lines
333 B
Svelte
|
<script>
|
||
|
export let letters = []
|
||
|
</script>
|
||
|
|
||
|
<style>
|
||
|
span {
|
||
|
font-size: 8vw;
|
||
|
text-transform: uppercase;
|
||
|
user-select: none;
|
||
|
width: 1em;
|
||
|
text-align: center;
|
||
|
display: inline-block;
|
||
|
}
|
||
|
|
||
|
div {
|
||
|
margin-left: -0.5em;
|
||
|
}
|
||
|
</style>
|
||
|
|
||
|
<div>
|
||
|
{#each letters as letter}
|
||
|
<span>{letter}</span>
|
||
|
{/each}
|
||
|
</div>
|