Other Styling Options

Explore other styling options available to us, including CSS-in-JS.

If we decide not to use the built-in CSS support, Gatsby provides plenty of other styling options. Let’s look at a few of them and how to get started with them.

Bootstrap

Introduced by Twitter in 2010, Bootstrap remains one of the most popular CSS frameworks for responsive styling.

Using the CDN files

The easiest way to use Bootstrap in Gatsby is to use the CDN-hosted files in the project. To use them, we include the lines below in our gatsby-browser.js file:

Get hands-on with 1200+ tech skills courses.