# everycss-mixin

> Add mixin, include and extend support

Latest version **0.1.0** (published 2014-06-01) · 0 weekly downloads

## Install

```sh
npm install everycss-mixin
pnpm add everycss-mixin
yarn add everycss-mixin
bun add everycss-mixin
```

## Health

**Score 10/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; low quality score; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.0 |
| Published | 2014-06-01 |
| First published | 2014-06-01 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Node | * |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | François Germain |
| Maintainers | cahnory |
| Keywords | everycss, processor, mixin |

## Links

- npm: https://www.npmjs.com/package/everycss-mixin
- Repository: https://github.com/bleuebuzz/everycss-mixin
- Homepage: https://github.com/bleuebuzz/everycss-mixin/
- Issues: https://github.com/bleuebuzz/everycss-mixin/issues
- npm.io page: https://npm.io/package/everycss-mixin

## Recent versions

- 0.1.0 (latest) — 2014-06-01

## README

#EveryCSS-mixin

Add mixin, include and extend support

##@include

```
@mixin demo {
  border: 1px solid red;
  color: red;
  font-weight: bold;
}

.demo1 {
  @include demo;
}
.demo2 {
  background: black;
  @include demo;
}
.demo3 {
  background: white;
  @include demo;
}
```

output:

```
.demo1 {
  border: 1px solid red;
  color: red;
  font-weight: bold;
}
.demo2 {
  background: black;
  border: 1px solid red;
  color: red;
  font-weight: bold;
}
.demo3 {
  background: white;
  border: 1px solid red;
  color: red;
  font-weight: bold;
}
```

##@extend

```
@mixin demo {
  border: 1px solid red;
  color: red;
  font-weight: bold;
}

.demo1 {
  @include demo;
}
.demo2 {
  background: black;
  @extend demo;
}
.demo3 {
  background: white;
  @extend demo;
}
```

output:

```
.demo2, .demo3 {
  border: 1px solid red;
  color: red;
  font-weight: bold;
}
.demo1 {
  border: 1px solid red;
  color: red;
  font-weight: bold;
}
.demo2 {
  background: black;
}
.demo3 {
  background: white;
}
```

---
_Source: https://npm.io/package/everycss-mixin · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
