# card-ribbon

> Card ribbon in pure CSS.

Latest version **0.1.3** (published 2016-06-17) · MIT license · 0 weekly downloads

## Install

```sh
npm install card-ribbon
pnpm add card-ribbon
yarn add card-ribbon
bun add card-ribbon
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.3 |
| Published | 2016-06-17 |
| First published | 2016-06-14 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=4 |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 20 |
| Author | EGOIST |
| Maintainers | kchan |
| Keywords | css, ribbon, css3 |

## Links

- npm: https://www.npmjs.com/package/card-ribbon
- Repository: https://github.com/egoist/card-ribbon
- Homepage: https://github.com/egoist/card-ribbon#readme
- Issues: https://github.com/egoist/card-ribbon/issues
- npm.io page: https://npm.io/package/card-ribbon

## Alternatives

- [style-dictionary](https://npm.io/package/style-dictionary.md) — 2.0M weekly downloads
- [postcss-merge-idents](https://npm.io/package/postcss-merge-idents.md) — 1.7M weekly downloads
- [@fontsource/noto-sans](https://npm.io/package/@fontsource/noto-sans.md) — 93.0K weekly downloads
- [uglifycss](https://npm.io/package/uglifycss.md) — 71.6K weekly downloads
- [mat4-interpolate](https://npm.io/package/mat4-interpolate.md) — 23.3K weekly downloads

## Recent versions

- 0.1.3 (latest) — 2016-06-17
- 0.1.2 — 2016-06-14
- 0.1.1 — 2016-06-14
- 0.1.0 — 2016-06-14

## README

# card-ribbon [![NPM version](https://img.shields.io/npm/v/card-ribbon.svg)](https://npmjs.com/package/card-ribbon) [![NPM downloads](https://img.shields.io/npm/dm/card-ribbon.svg)](https://npmjs.com/package/card-ribbon)

> Card ribbon in pure CSS. (in bytes!)

## Install

```bash
$ npm install --save card-ribbon
```

## Usage

**The parent element of `.card-ribbon` should be `position: relative;`**

```html
<div class="parent-element">
  <div class="card-ribbon">This is the ribbon!</div>
  <div class="content">Whatever contents...</div>
</div>
```

Then include the CSS file via `<link>` attribute.

```html
<link rel="stylesheet" href="/path/to/card-ribbon/dist/card-ribbon.css">
```

Or use some CSS pre-processor:

```css
@import "card-ribbon";
```

## Browser Support

IE 10 and above, Chrome, Safari, Firefox and a bunch of shit.

## License

MIT © [EGOIST](https://github.com/egoist)

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