css form update

This commit is contained in:
edbrz9 2022-12-30 15:29:40 +01:00
parent 8468a5029b
commit 3db8f34e53
2 changed files with 42 additions and 2 deletions

View File

@ -3,4 +3,44 @@
@import url("./layout.css");
@import url("./colors.css");
@import url("./fonts.css");
@import url("./ux.css");
@import url("./ux.css");
input[type=text] {
border: 5px solid var(--black);
padding: 10px;
border-radius: 0px;
background-color: var(--white);
font-family: inherit;
font-weight: inherit;
display: inline-block;
margin: 0px;
width: auto;
}
select#lang {
border: 5px solid var(--black);
padding: 10px;
border-radius: 0px;
background-color: var(--white);
font-family: inherit;
font-weight: inherit;
display: inline-block;
margin: 0px;
width: auto;
}
input[type=submit] {
border: 5px solid var(--black);
padding: 10px;
border-radius: 0px;
background-color: var(--black);
color: var(--white);
font-family: inherit;
font-weight: inherit;
width: 100%;
}
form {
}

View File

@ -13,7 +13,7 @@
<main class="homepage">
<h1>Y2TPrompt</h1>
<form method="post" action="handler.php">
<input type="text" placeholder="YouTube URL" id="url" name="url"><br>
<input type="text" placeholder="YouTube URL" id="url" name="url">
<select id="lang" name="lang">
<option value="en">EN</option>
<option value="fr">FR</option>