First, it’s a good idea to always add the following as this removes the need for you to clear paddings, borders, etc:
*, *:before, *:after{box-sizing: border-box;}
Then, just set the heights. You may notice that one or more of the inline elements seem offset by a pixel or so. For those, you’ll need to add vertical-align: top;