DEV Community

Beey
Beey

Posted on

New CSS framework

A new CSS framework now exists, it is called Whirlwind CSS.

The classes are designed to be shorter than bootstrap and tailwind

For example making something bold:


import 'whirlwindcss/dist/classes.css'

function App() {
  return(
    <div id="App">
      <h1 className="f-bold">Hello from bold with whirlwind CSS!</h1>
    </div>
  );
}

export default App;

Enter fullscreen mode Exit fullscreen mode

It also comes with other short classes!

In your terminal, to install the NPM run npm i whirlwindcss or npm install whirlwindcss

NOTE: When using whirlwind CSS do not try to run:


npm i -D whirlwindcss
npm i postcss

Enter fullscreen mode Exit fullscreen mode

This is because whirlwind is NOT a dev dependency

The correct way to import whirlwind(And its Peer Dependencys) is:


npm i whirlwindcss
npm i postcss

Enter fullscreen mode Exit fullscreen mode

Whirlwind CSS comes with intellisense.

Top comments (1)

Some comments may only be visible to logged-in visitors. Sign in to view all comments.