Remove the spacing between two inline-block div

Remove the spacing between two inline-block div

<style>
.container {font-size: 0}
.contianer > div {font-size: 14px}
</style>

<div id=”container”>
<div>1</div>
<div>2</div>
</div>