=setup form

This commit is contained in:
Miki 2023-12-06 11:19:16 +01:00
parent 34ecc9f036
commit 517d64d183
7 changed files with 57 additions and 7 deletions

View file

@ -0,0 +1,50 @@
<script>
import Logo from "$lib/img/topscorer_logo_web.png"
</script>
<div class="header">
<img class="img" src={Logo} alt="logo">
<span class="title">title</span>
</div>
<div>
<form action="" method="post">
<label for="name">Name</label>
<input id="name" type="text">
<label for="category">Category</label>
<input id="category" type="text">
</form>
</div>
<div>
<form action="" method="post">
<label for="firstname">Firstname</label>
<input id="firstname" type="text">
<label for="lastname">Lastname</label>
<input id="lastname" type="text">
<label for="color">Color</label>
<input id="color" type="text">
</form>
<button>+</button>
</div>
<style>
.header {
background-color: black;
color: aliceblue;
display: flex;
}
.header .img {
height: 3rem;
}
.header .title {
font-size: 3rem;
align-self: center;
justify-self: center;
margin-left: 25%;
margin-right: 25%;
}
</style>