Within my div element labeled "product-name," I have set the height to 30px and the font-size to 11px. This div is intended to display the product name. However, when the product name is only one line long, it appears at the top of the container. I would like it to be vertically centered instead.
If you know of any CSS properties or tricks that could help achieve this vertical center alignment, please share them with me.