I have an element with an arbitrary height. Element have properties box-sizing: border-box. If using jquery appoint 100px height, the result would be the height of the element is equal to 120. What could be wrong?
js:
$('#element').height(100);
css:
#element{
background-color: green;
height: 50px;
width: 300px;
padding: 10px;
box-sizing: border-box;
}