Answers for "items inside div align center"

1

center text inside a div

text-align: center;
vertical-align: middle;
line-height: 90px;       /* The same as your div height */
Posted by: Guest on June-23-2021
0

how to center anything inside your container

display: grid;
    place-items: center;
    height: 100vh;
Posted by: Guest on September-06-2020

Code answers related to "items inside div align center"

Browse Popular Code Answers by Language