how to make div width auto adjust

60

.center {
  display: inline-block;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

Comments

Submit
0 Comments