Where to start
If you are new to CSS layout, read the flexbox guide first, then the grid guide, then the comparison of the two. If you want to make things look good, the gradients and box-shadow guides are the quickest wins. The page on centring a div answers the most common beginner question with five methods that were all measured.
This is an independent site. It is not connected with the W3C, MDN, Google, Apple, Mozilla or Microsoft. Browser and product names belong to their owners.