Answers for "center a div in css"

CSS
0

Center div

center{
            display: block;
            margin-left: auto;
            margin-right: auto;
            width: 50%;
        }
Posted by: Guest on December-13-2021

Browse Popular Code Answers by Language