Reform for a classless styling system

Usage no npm install needed!

<script type="module">
  import perestroikaCss from '';


Perestroika CSS

npm npm bundle size NPM

Reform for classless styling system.

Although classless styling systems work perfect for creating fast and simple yet beautiful projects, they are very limited when creating (relative) complex layouts.

Taking Marx CSS as inspiration, Perestroika CSS is a reform for a classless styling system, adding functionality through some simple extra classes.

The classless CSS reset (perfect for Communists) - Marx CSS


  • Classless (almost). Works out of the box with HTML markup.
  • Simple set of classes with added functionality.
  • Customizable and extensible through SCSS variables and mixins.
  • Ultra lightweight and simple flexbox grid

Quick Start

Option 1 (recommended)

Install from NPM and import with a bundler.

npm install perestroika-css
import 'perestroika-css';

or import the SCSS to customize it.

// Customize variables before import
$primary-color: #7d7;

// Import Perestroika-CSS
@import '~perestroika-css/scss/main.scss';

// Extend or create new components { @include btn-color(#f65, #fff); }

If using SCSS remember to add postcss autoprefixer to your build!

Option 2

Load from CDN. This option loads raw compiled CSS that cannot be customized.

<link rel="stylesheet" href="" />


A small collection of SCSS variables is available to customize the final look of the styling. Just override variables before importing the package.

A small collection of SCSS mixins is available as well to extend new components reducing the amount of code to write.


This is a personal project I started to improve SCSS skills, as well as learning about the NPM module pipeline and Github actions. There probably are many many bugs to be fixed. Contributions are welcome. Fill an issue report or create a pull request. Thanks!