The most in-demand CSS technologies in 2020
Tags: css, webdev
Published: 2020-01-29 17:13:06

---
title: The most in-demand CSS technologies in 2020
published: true
date: 2020-01-28 15:00:33 UTC
tags: css,webdev
canonical_url: https://blog.logrocket.com/the-most-in-demand-css-technologies-in-2020/
cover_image: https://dev-to-uploads.s3.amazonaws.com/i/70maz87ac81znkf6folh.jpeg
---
**Written by [Nwose Lotanna](https://blog.logrocket.com/author/nwoselotanna/)**✏️

Over the years, CSS and its community have grown from just stylesheets to a whole ecosystem of technologies that spans frameworks like Bootstrap and Materialize to preprocessors like Sass and Less and even recent concepts like CSS-in-JS. Frontend web development in 2020 no longer involves simply writing CSS, but also knowing the technologies and which to use in any given scenario.

The inaugural “[State of CSS 2019](https://2019.stateofcss.com)” survey records and beautifully illustrates the opinions of today’s CSS users around the globe. The data points cover CSS libraries and frameworks, features, unit and selectors, and a whole lot more.

The report offers a glimpse into the future of frontend development, focusing entirely on CSS. In my opinion, the “State of CSS” report is already the premier CSS-only developer survey, and I’m hopeful that it will be a staple of the frontend developer community for years to come.

In this piece, we’ll take a look at the most in-demand CSS technologies for 2020 and developers’ orientation around concepts in CSS like preprocessors, frameworks, and the new and shiny CSS-in-JS.

[![LogRocket Free Trial Banner](https://i0.wp.com/blog.logrocket.com/wp-content/uploads/2017/03/f760c-1gpjapknnuyhu8esa3z0jga.png?resize=1200%2C280&ssl=1)](https://logrocket.com/signup/)

## CSS-in-JS

Over 10 years ago, there was a new development in CSS where core rules were overwritten and new features were created to form a new technology called preprocessors. Quite recently, a revolutionary new technology came on board called CSS-in-JS.

CSS-in-JS lets you you style your presentation with JavaScript instead of CSS. Then, when your application is run, the JavaScript is parsed and generates CSS, which is attached to your DOM directly. This helps with abstracting CSS to the level of components and making your styles maintainable. It is all the rage in the CSS community; here are some of the most-used technologies.

### styled-components

![Styled-components Logo Banner](https://i1.wp.com/blog.logrocket.com/wp-content/uploads/2020/01/styled-components.png?resize=730%2C223&ssl=1)

styled-components is a CSS-in-JS library that helps you use visual primitives and the best of the modern browser technologies to style your React components. It is a kind of optimized CSS enhancement for styling your application components that would remind you of CSS modules.

It is [used by more than 200,000 projects](https://github.com/styled-components/styled-components), and it has a strong and rapidly growing community. According to the survey insights, up to 79 percent of all CSS users have heard about it (which is pretty amazing, considering it [landed just three years ago](https://medium.com/styled-components/announcing-primitives-support-for-truly-universal-component-systems-5772c7d14bc7)), and a whopping [33 percent of them are repeat users](https://2019.stateofcss.com/technologies/css-in-js/). Another 26 percent would want to learn it.

[Here is an article](https://blog.logrocket.com/8-reasons-to-use-styled-components-cf3788f0bb4d/) I wrote a while back about styled-components.

### CSS Modules

CSS Modules are CSS files inside which class names and transforms are scoped locally, and all links and imports are in the module request format, like this:

```jsx
import styles from "./style.css";
// import { className } from "./style.css";
```

They compile to a low-level interchange format called [Interoperable CSS](https://github.com/css-modules/icss) but are written like normal CSS files:

```jsx
.danger-heading {
  color: red;
}
```

When importing the CSS Module from a JS module, it exports an object with all mappings from local names to global names. It has been used by [21 percent of the respondents](https://2019.stateofcss.com/technologies/css-in-js/) and has been starred [13,000 times](https://github.com/css-modules/css-modules) on GitHub. There is a big awareness gap here, which can be a great opportunity for the team to release more resources to help educate CSS users.

### Styled JSX

According to [the official Next.js blog](https://nextjs.org/blog/styling-next-with-styled-jsx), Styled JSX is a CSS-in-JS library that allows you to write encapsulated and scoped CSS to style your components. The styles you introduce for one component won’t affect other components, allowing you to add, change, and delete styles without worrying about unintended side effects.

With an impressive [350,000 weekly downloads](https://www.npmjs.com/package/styled-jsx) and currently [used by 51,000 projects](https://github.com/zeit/styled-jsx#readme), according to GitHub data, there is great prospect of adoption in the near future. Currently about [54 percent of the surveyed CSS users](https://2019.stateofcss.com/technologies/css-in-js/) have not heard about it, so I believe this number will change significantly by the end of 2020.

Other CSS-in-JS libraries include [JSS](https://cssinjs.org/), [Emotion](https://emotion.sh/docs/introduction), [Aphrodite](https://github.com/Khan/aphrodite), and [Radium](https://formidable.com/open-source/radium/).

## Preprocessors

A much longer while ago in the history of CSS came Sass and Less. These preprocessors introduced new features that had never before been used in CSS, like variables and the amazing concept of nesting styles as in programming languages. These all happened way before CSS started to catch up to them.

### Sass

![Sass Logo](https://i2.wp.com/blog.logrocket.com/wp-content/uploads/2020/01/sass-logo.png?resize=730%2C548&ssl=1)

Sass identifies as the most mature, stable, and powerful professional-grade CSS extension language in the world. It is compatible with all CSS versions, it’s been regularly maintained for about 13 years now, and it has so many cool features. A lot of frameworks are built on top of Sass, one of which is [Compass](http://compass-style.org/).

Currently Sass is used by [over 1.5 million projects](https://github.com/sass/sass/network/dependents?package_id=UGFja2FnZS0xNTMz), which constitutes about [80 percent of the survey respondents](https://2019.stateofcss.com/technologies/pre-post-processors/) — dare I say, everybody loves Sass.

### Less

![Less Logo](https://i0.wp.com/blog.logrocket.com/wp-content/uploads/2020/01/less-logo.png?resize=730%2C183&ssl=1)

Leaner Style Sheets, popularly known as Less, is another great CSS extension that uses Less.js to convert Less styles to CSS styles. It introduces core JS concepts like mixins and variables to CSS, which makes it easy for JavaScript developers to grasp. When run, it preprocesses the styles to pure CSS.

Currently used by [over 1 million projects](https://github.com/less/less.js), over 98 percent of CSS users [have heard of it](https://2019.stateofcss.com/technologies/pre-post-processors/), with 25 percent of them being repeat customers and 11 percent willing to learn.

Another preprocessor library you might want to check out is [Stylus](http://stylus-lang.com/), which also has a growing community.

## CSS frameworks

No discussion of CSS technologies would be complete without a nod to user interface toolkits like Bootstrap. These make life easy for CSS users, especially beginners that want to build a client-facing user interface. In this section, we look at some of these frameworks that are in heavy demand.

### Bootstrap

![Bootstrap Logo](https://i1.wp.com/blog.logrocket.com/wp-content/uploads/2020/01/bootstrap-logo.png?resize=730%2C383&ssl=1)

Bootstrap is an open-source, mobile-first toolkit for developing with HTML, CSS, and JS. You can quickly prototype your ideas or build your entire app with Sass variables and mixins, the responsive grid system, extensive prebuilt components, and powerful plugins built on jQuery.

It is currently used by [more than 1.3 million users](https://github.com/twbs/bootstrap/network/dependents?package_id=UGFja2FnZS00OTM2ODI3ODU%3D), and a whopping [45 percent are return users](https://2019.stateofcss.com/technologies/css-frameworks/), according to the survey insights. Over the years, some people have moved to newer and more interesting frameworks, but Bootstrap still retains a significant user base.

### Semantic UI

![Semantic UI banner](https://i1.wp.com/blog.logrocket.com/wp-content/uploads/2020/01/semantic-ui-logo.png?resize=730%2C152&ssl=1)

Semantic UI is a development framework that helps create beautiful, responsive layouts using human-friendly HTML. With concise HTML, Semantic UI treats words and classes as exchangeable concepts. It is used by [over 11,000 projects](https://github.com/semantic-org/semantic-ui/) and over [64](https://2019.stateofcss.com/technologies/css-frameworks/) [percent](https://2019.stateofcss.com/technologies/css-frameworks/) [of CSS users](https://2019.stateofcss.com/technologies/css-frameworks/) have heard about it, with another 21 percent willing to learn.

### Bulma

![Bulma Logo](https://i2.wp.com/blog.logrocket.com/wp-content/uploads/2020/01/bulma-logo.png?resize=730%2C253&ssl=1)

Bulma is a free, open-source CSS framework based on Flexbox and used by more than 200,000 developers. It is 100 percent responsive, mobile-focused, modular, and open-source. Currently used by [over 86,000 projects](https://github.com/jgthms/bulma/), 10 percent of survey respondents report having [used Bulma more than once](https://2019.stateofcss.com/technologies/css-frameworks/). With [460,000 monthly downloads](https://www.npmjs.com/package/bulma), the Bulma community is growing, and there is an awareness opportunity for the community to grow even wider.

### Pure.css

![Pure.css Logo](https://i1.wp.com/blog.logrocket.com/wp-content/uploads/2020/01/purecss-logo.png?resize=730%2C175&ssl=1)

Pure.css is a set of small, responsive CSS modules you can use in every web project. Pure builds on [Normalize.css](http://necolas.github.io/normalize.css/) and provides layout and styling for native HTML elements, plus the most common UI components. Pure is really tiny — the entire set of modules clocks in at 3.8kB minified and gzipped.

Currently used by [over 3,000 projects](https://github.com/pure-css/pure/), over [18](https://2019.stateofcss.com/technologies/css-frameworks/) [percent](https://2019.stateofcss.com/technologies/css-frameworks/) [of](https://2019.stateofcss.com/technologies/css-frameworks/) [the surveyed](https://2019.stateofcss.com/technologies/css-frameworks/) [CSS users](https://2019.stateofcss.com/technologies/css-frameworks/) have either used it or want to learn it.

### Tailwind CSS

![Tailwind CSS Logo](https://i0.wp.com/blog.logrocket.com/wp-content/uploads/2020/01/tailwind-css-logo.png?resize=730%2C182&ssl=1)

Tailwind CSS is a utility-first CSS framework for rapidly building custom designs. Tailwind CSS is a highly customizable, low-level CSS framework that gives you all the building blocks you need to build bespoke designs without any annoying opinionated styles you have to fight to override.

Currently used by [more than 25,000 projects](https://github.com/tailwindcss/tailwindcss), it is the most in-demand CSS framework according to the survey’s interest indication metrics, with [14 percent of surveyed CSS](https://2019.stateofcss.com/technologies/css-frameworks/) users wanting to learn to use it.

Other CSS frameworks include [Materialize](https://materializecss.com/), [Foundation](https://get.foundation/), [Ant design](https://ant.design/), [UI Kit](http://getuikit.com/), [Primer](https://primer.style/css), and [Tachyons](https://tachyons.io/).

## Conclusion

In this piece, you have been shown various CSS technologies and how in-demand they are in the community, from CSS-in-JS to preprocessors and even frameworks. CSS-in-JS is one of the latest technologies to hit the CSS community, and I am excited for the future of this technology, especially for the growth of libraries and frameworks like styled-components and Tailwind CSS. What are your favorite CSS technologies? Let us know in the comments!

* * *
## Is your frontend hogging your users' CPU?

As web frontends get increasingly complex, resource-greedy features demand more and more from the browser. If you’re interested in monitoring and tracking client-side CPU usage, memory usage, and more for all of your users in production, [try LogRocket.](https://logrocket.com/signup/) 

![Alt Text](https://thepracticaldev.s3.amazonaws.com/i/403rye2ptzx994uhktk1.png)

[LogRocket](https://logrocket.com/signup/) is like a DVR for web apps, recording everything that happens in your web app or site. Instead of guessing why problems happen, you can aggregate and report on key frontend performance metrics, replay user sessions along with application state, log network requests, and automatically surface all errors.

Modernize how you debug web apps — [Start monitoring for free.](https://logrocket.com/signup/)
* * *

The post [The most in-demand CSS technologies in 2020](https://blog.logrocket.com/the-most-in-demand-css-technologies-in-2020/) appeared first on [LogRocket Blog](https://blog.logrocket.com).