CSS reset basic

Here is a stripped-down CSS reset code to start the front-end HTML layout. This is just for quick development; otherwise, feel free to use many great available full versions of modern CSS resets.

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-size: 62.5%;
}

CSS codes displayed on monitor screen

Leave the first comment

Related posts

  • Font Smoothing

    October 7, 2022
    Here is how to get smooth like butter font on your websites.
  • BEM – CSS naming convention

    October 7, 2022
    The Block, Element, Modifier methodology (commonly referred to as BEM) is a popular naming convention for classes in HTML and…
  • Prevent overscroll browser behavior

    October 8, 2022
    This CSS snippet prevents that annoying over-scrolling behavior in the browser.