JSFiddle - React, Tailwind, and code Playground
HTML
<form method="post" >
<label for="creator">Etablie par :
<input type="text" id="creator" />
</label>
<label for="function">Poste et Lieu :
<input type="text" id="function" />
</label>
<label for="date">Date :
<input type="date" id="date" />
</label>
</form>
CSS
form {
display : block;
background-color : yellow;
width : 260px;
margin : 0 auto;
}
form label {
display : block;
text-align : right;
padding : 5px;
}
forum label input {
width : 200px;
}