Let's say "vertical-center" is the name of your div class, And the content you want to center is inside the div.
This is the CSS code:
.vertical-center {
display: flex;
align-items: center;
height: 100px; /* Adjust the height as needed */
}