Bootstrap CSS Breakpoint Sizes

CSS Front End Development

I work with Bootstrap for its grid system from time to time. I sometimes need to add in custom styling using Bootstrap breakpoint sizes and the documentation for Bootstrap (at least version 3) is horrible.

  • Extra small: xs – 480px
  • Small: sm – 768px
  • Medium: md – 992px
  • Large: lg – 1200px

Depending on whether or not you’re working mobile first, which in that case you would be using min-width and if you’re working from a breakpoint based responsive workflow you would be using max-width instead.

Now you don’t have to go on a safari expedition to find the Bootstrap responsive sizes for your custom CSS.

Naming Things In CSS Is Really Hard

I love front-end development, but there is one thing about it that I do not particularly like: naming things. Using ID’s and classes on HTML …

CSS ":parent" Selector

As great as CSS is, there is one thing that it lacks and that is a parent selector. The supposed reason for its nonexistence is performance concerns. …

CSS In JS: It's a Trap!

We have all been conditioned and trained to decouple our styling from the DOM. Thanks to stylesheets we can separate our CSS from our HTML and all is …

The Template Element Is Finally In Edge

It really does feel like the Microsoft team working on the Edge browser are legitimately trying to put out a decent and truly evergreen web browser. …