Answers for "centering div on page"

CSS
3

css center div in page

.center {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
Posted by: Guest on July-02-2021
21

how to center text in css

.class {
	text-align: center;
}
Posted by: Guest on February-15-2020
0

how to put container in center of page

div.InSkinAlignCenter {
margin: 0 auto;
}
Posted by: Guest on November-09-2020

Browse Popular Code Answers by Language