Answers for "how to make width of div automatically 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 width of div automatically adjust"

Browse Popular Code Answers by Language