Answers for "make a column center css"

3

css center

// example 1 
div { display: grid; place-items: center; }

// example 3
div{ display:flex; align-items:center; }

// example 3
div { width: 100%; margin: 0 auto; }
Posted by: Guest on September-19-2020
7

center text in div container

text-align: center
Posted by: Guest on June-01-2020

Browse Popular Code Answers by Language