Common Styles

Width

CSS

yourSelector {
  width: 200px;
}

JavaScript

yourVariable.style.width = `200px`