Update css

This commit is contained in:
leandro-rdz 2023-12-07 18:03:08 +01:00
parent 4f90a217ca
commit 44a1647d2b
2 changed files with 7 additions and 1 deletions

View file

@ -100,6 +100,7 @@ main {
#checkbox {
display: none;
cursor: pointer;
}
#checkbox:checked+#formcontainer #form {
@ -233,4 +234,9 @@ main {
height: 100%;
width: 5em;
background-color: #7e2722;
}
#form_button:hover {
color: #ffffff;
cursor: pointer;
}

View file

@ -19,7 +19,7 @@
<input type="checkbox" id="checkbox">
<div id="formcontainer">
<form id="form" action="game.html">
<input id="form_input" placeholder="Pseudo" type="text" pattern="[\ A-Za-z0-9]{1,20}" required>
<input id="form_input" placeholder="Pseudo" type="text" pattern="[A-Za-z0-9]{1,20}" required>
<label id="form_buttonLabel" for="checkbox">
<button id="form_button" type="submit">Go!</button>
</label>