Struggling with aligning a paragraph in a div vertically. The paragraphs are within sliding boxes triggered by hovering over an image. Unable to use display: inline-block due to the default state being set to display: none;. Seeking guidance on the best approach to solve this issue, hoping for a simple solution that will make me feel silly. Thank you in advance.
Below is the CSS for the textbox divs:
.textbox {
max-width: 610px;
height: 155px;
padding: 10px;
display: none;
overflow: hidden;
background: linear-gradient(to bottom, rgba(5, 58, 24, 0.65) 10%, rgba(0, 0, 0, 0.13) 83%, rgba(0, 0, 0, 0) 100%);
border-radius: 0 10px 10px 0;
}
Previously posted similar code, but unsure of proper questioning process or etiquette. Not a jQuery issue this time, as it's functioning correctly. Reposting due to CSS-related problem. (previous question link below)
How to handle a hide/show queue with multiple hidden divs smoothly