Best of BootstrapOctober 2022

  1. 1
    Article
    Avatar of communityCommunity Picks·3y

    Why We're Breaking Up with CSS-in-JS

    CSS-in-JS allows you to style your React components by writing CSS directly in your JavaScript or TypeScript code. It's easy to accidentally apply styles more widely than you intended. The ability to use JavaScript constants in styles reduces duplication in some cases, since the same constant does not have to be defined as both a CSS variable and a JavaScript constant. Inline styles are not ideal for performance.

  2. 2
    Article
    Avatar of towardsdevTowards Dev·3y

    How we migrated from Bootstrap to Tailwind CSS.

    Tailwind CSS is a utility-first CSS framework packed with classes like flex, pt-4, text-center, and rotate-90 that can be composed to build any design, directly in your markup. In our examples, we will use packages and commands related to the GatsbyJS static-site generation framework. This function adds the content in before the page is rendered. Don’t waste your time trying networkidle.