How can I vertically center this div

How can I vertically center this div
0

#1

I want to vertically center eight the wrapper or row div. Not sure how to do it.

sry I forgot to add the link


#2

You can add the relative positioning to the .container and make it center along Y-axis,

position: relative;
top: 50%;
transform: translateY(-50%);

And apply this for smaller screens,

top: 0;
transform: translateY(0);

Or

You can wrap the .container with a div and give it a 100% height and then apply flexbox to the div