j9t’s avatarj9t’s Twitter Archive—№ 1,062

  1. #CSS. Instead of margin: 0 auto, just write margin: auto. Many here know, also that this is simplified, however many also don’t know as the unnecessary 0 is still very popular. In most cases you can leave it out. Reference as this isn’t intuitive: w3.org/TR/CSS22/visudet.html#block-root-margin