In the class .textbox
you have padding-left: 80px;
, you can change the property to padding-left: 40px;
, for example, to reduce it.
.textbox {
border: 1px solid #DBE1EB;
font-size: 18px;
font-family: "hurmegometrcsans3_regularRg";
padding-left: 40px;
padding-right: 80px;
padding-top: 8px;
padding-bottom: 20px;
background: #E4E4E4;
color: #2E3133;
}
<div class="widget-shadow">
<div class="login-body">
<form action="thanks.html">
<span id="emailOK"></span>
<div id="campo1"><input
type="text" class="textbox" size="30" placeholder="Name" required></div>
<div id="campo2"><input
type="text" id="email" name="email" class="textbox"
data-validation="email" size="30" placeholder="Email " required></div>
<div id="campo3"><input
type="text" class="textbox" size="30" placeholder="Company" required></div>
<input type="submit" id="user" size="30" value="GET EARLY ACCESS">
</form>
</div>
</div>
This will change the style for all the elements that this class has, if you want it to only affect these textbox just add a new more detailed class to get to the elements of interest.
For example, class login-body
of div
parent of form
:
.login-body .textbox {
padding-left: 40px;
}
and so the elements (textbox, etc.) that are children of the class login-body
will have this style.
.textbox {
border: 1px solid #DBE1EB;
font-size: 18px;
font-family: "hurmegometrcsans3_regularRg";
padding-left: 80px;
padding-right: 80px;
padding-top: 8px;
padding-bottom: 20px;
background: #E4E4E4;
color: #2E3133;
}
.login-body .textbox {
padding-left: 40px;
}
<div class="widget-shadow">
<div class="login-body">
<form action="thanks.html">
<span id="emailOK"></span>
<div id="campo1"><input
type="text" class="textbox" size="30" placeholder="Name" required></div>
<div id="campo2"><input
type="text" id="email" name="email" class="textbox"
data-validation="email" size="30" placeholder="Email " required></div>
<div id="campo3"><input
type="text" class="textbox" size="30" placeholder="Company" required></div>
<input type="submit" id="user" size="30" value="GET EARLY ACCESS">
</form>
</div>
</div>