Having a bit of trouble with my CSS.
I have a single div with 3 columns inside: a span, an h3, and another span.
Here's what I'm aiming for:
- The div should adjust its height based on the content within the h3 tag
- The height of the h3 tag should also adjust based on its content
- The spans should be vertically aligned to the middle
<div>
<span>span 1</span>
<h3>text</h3>
<span>span 2</span>
</div>
If anyone could help me out with styling this setup, I would greatly appreciate it. Thank you.