Resolved: make
    center vertically by bootstrap

In this post, we will see how to resolve make <ul> center vertically by bootstrap


I have this div that is parent for ul. I tried to make ul center vertically but I do not know why I see this situation: enter image description here
the bg-success is not got centered in bg-primary div.

Best Answer:

Generally ul elements by default have margin you should remove it first :

If you have better answer, please add a comment about this, thank you!