html - adjusting input element inside div -


i have main <div> inside there left , right ones.
on left one, have <input type = "text">.

my problem width , height of <input> element larger container left <div>.

please me out input element.

demo

a native input has padding , border applied it.

add input css:

border: 0; box-sizing: border-box; 

Comments

Popular posts from this blog

angular - Is it possible to get native element for formControl? -

unity3d - Rotate an object to face an opposite direction -

javascript - Why jQuery Select box change event is now working? -