An open API service indexing awesome lists of open source software.

https://github.com/itsjonq/casein

Casein: Writing Sass/CSS with Javascript
https://github.com/itsjonq/casein

Last synced: about 1 month ago
JSON representation

Casein: Writing Sass/CSS with Javascript

Awesome Lists containing this project

README

          

# Casein 🔸

Writing Sass/CSS with Javascript

Experimenting!

## Setup

Run `npm install` to instal things.

## Testing

Running `node index.js` will output:

```css
.c-button {
-webkit-appearance: none;
appearance: none;
box-sizing: border-box;
cursor: pointer;
outline: none;
vertical-align: middle;
-webkit-user-select: none;
user-select: none;
background: red;
border-radius: 4px;
font-size: 1em; }
.c-button:hover {
background: #ff1414; }
.c-button:active {
background: #eb0000; }

.co {
background-color: red;
color: blue;
padding: 10px;
box-shadow: 0 0 1px rgba(0, 0, 0, 0.2); }
.co__child {
background-color: red;
color: blue;
padding: 10px; }
```