input{ padding:5px 10px; width:100%; border-radius:3px; } modify above style remove border, increase hight
input {
padding:5px 10px;
width:100%;
border-radius:3px;
border:none;
height:50px;
}
All generations.
input {
padding:5px 10px;
width:100%;
border-radius:3px;
border:none;
height:50px;
}
css
border:none;
<style>form input{
padding:5px 10px;
width:100%;
border-radius:3px;
border:none;
}</style>
input[type="text"]{
padding: 5px 10px;
width: 100%;
border-radius: 3px;
border:0;
}
.login-form {
width: 400px;
margin: 50px auto;
}
.login-form form {
margin-bottom: 15px;
background: #f7f7f7;
box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
padding: 30px;
}
.login-form h2 {
margin: 0 0 15px;
}
.form-control, .btn {
min-height: 38px;
border-radius: 2px;
}
.btn {
font-size: 15px;
font-weight: bold;
}
form div{
margin:auto;
margin-bottom:10px;
padding:10px;
width:70%;
background:lightgray;
}
input {
padding: 5px 10px;
width: 100%;
border: none;
border-radius: 3px;
}
.login-form {
width: 300px;
margin: 0 auto;
padding: 30px 0;
}
.form-group {
margin-bottom: 20px;
}
label {
color: #555;
display: inline-block;
margin-bottom: 5px;
max-width: 100%;
}
.form-control {
border-radius: 2px;
box-shadow: none;
color: #495057;
display: block;
font-size: 14px;
height: calc(2.25rem + 2px);
line-height: 1.5;
padding: .625rem .75rem;
transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
width: 100%;
}
input{
padding:5px 10px;
width:80%;
border-radius:3px;
height:50px;
font-size:20px;
}
form{
width:50%;
margin:auto;
text-align:center;
padding:20px;
background:lightsalmon;
border-radius:3px;
}
form div{
margin:auto;
margin-bottom:10px;
padding:10px;
width:70%;
}
form input{
padding:5px 10px;
width:100%;
border-radius:3px;
}
.container{
width: 50%;
}
.container div{
margin: 10px;
}
.container div input{
width: 100%;
padding: 5px;
}
.container div button{
width: 100%;
}
.container div input:focus{
background-color: #ccc;
}
<div class="container" id="main">
<form>
<label>username</label>
<input type="text" name="username">
<label>password</label>
<input type="text" name="password">
<input type="submit" value="login">
</form>
</div>
<form>
<div>
<input type="text" placeholder="username"/>
</div>
<div>
<input type="password" placeholder="password"/>
</div>
<div>
<button type="submit">login</button>
</div>
</form>
<style>
#loginForm {
...
}
#loginForm input {
...
}
</style>
input{
padding:5px 10px;
width:80%;
border-radius:3px;
border:0;
height:40px;
}
form{
width:50%;
margin:auto;
text-align:center;
padding:20px;
background:#ccc;
border-radius:3px;
}
html
<style>
div{
padding: 10px;
margin: 15px;
border: 1px solid black;
}
</style>
<form class="login-form" action="home.html" method="POST">
<div class="form-group">
<label for="email">Email</label>
<input type="email" class="form-control" id="email" placeholder="Email">
</div>
<div class="form-group">
<label for="password">Password</label>
<input type="password" class="form-control" id="password" placeholder="Password">
</div>
</form>
Generate
More than just a code generator. A tool that helps you with a wide range of tasks. All in one place.
Function from Description
Text Description to SQL Command
Translate Languages
Generate HTML from Description
Code to Explanation
Fix invalid Code
Get Test for Code
Class from Description
Regex from Description
Regex to Explanation
Git Command from Description
Linux Command
Function from Docstring
Add typing to code
Get Language from Code
Time complexity
CSS from Description
Meta Tags from Description