Check out my code example here.
I've created a div
with an i
element inside. I set the i
element's width and height attributes in a unique way, which has led to a line-height issue. While I have some knowledge about the difference between using float
and inline-block
, I'm unsure what is causing the line-height problem in this specific case. Can you help me understand?