border-box everything

    0

    0

    Ken Malley

    The code above specifies that all HTML tags must have a width and a height of 1 pixel, as well as a border-box style.

    *, *::before, *::after {
      box-sizing: border-box;
    }
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Playground
    • Snippets
    • Cookbooks
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.