Answers for "how to make div width auto adjust"

CSS
0

how to make div width auto adjust

.center {
  display: inline-block;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}
Posted by: Guest on November-28-2020

Code answers related to "how to make div width auto adjust"

Browse Popular Code Answers by Language