Skip to content

Instantly share code, notes, and snippets.

@VictorOmondi1997
Last active August 10, 2019 05:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save VictorOmondi1997/f5e0e678cfa76e665619bd9dd607a17d to your computer and use it in GitHub Desktop.
Save VictorOmondi1997/f5e0e678cfa76e665619bd9dd607a17d to your computer and use it in GitHub Desktop.
CSS BOX-SIZING TIP FOR BEGINNERS

CSS tip for beginners:

Ever saw this piece of code at the top of a CSS file?

{
  box-sizing: border-box;
}

It is used to prevent breaking box dimensions with margin, padding or borders.*

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment