I have a input
and I would like to put a box-sizing
because I will use padding-left
and would not like to move the element width.
My HTML:
<div class="contato">
<form>
<input type="text" />
</form>
</div>
My CSS:
.contato input {
width: 480px;
height: 50px;
background-color: #e9e9e9;
padding-left: 15px;
box-sizing: padding-box;
}
box-sizing
is not working, as shown: