CSS Invalid Property Value? for div tag

I don't understand what's wrong with this? I'm watching a tutorial and it seems to work fine on the video but chrome ignores this code and marks it as an invalid property value.

.main-container {
  width: 1200 px;
  margin: 100 auto !important;
}

@media screen and (max-width: 1200 px) {
  .main-container {
    width: 95%;
  }
}


Read more here: https://stackoverflow.com/questions/64398743/css-invalid-property-value-for-div-tag

Content Attribution

This content was originally published by Arin Chatterjee at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: