Answers for "container to the middle of the page"

CSS
90

center a div in css

.container {
  display: flex;
  justify-content: center;
  align-items: center;
}
Posted by: Guest on September-09-2020
0

how to assign something in center inside a div

IMG.displayed {
    display: block;
    margin-left: auto;
    margin-right: auto }
...
<IMG class="displayed" src="..." alt="...">
Posted by: Guest on October-20-2020

Code answers related to "container to the middle of the page"

Browse Popular Code Answers by Language