Postcss plugin for long shadow text
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
test
.editorconfig
.gitattributes
.gitignore
.npmignore
.travis.yml
index.js
license
package.json
readme.md
screenshot.png
yarn.lock

readme.md

postcss-longshadow-text

Build Status

Postcss plugin for long shadow text

Install

$ npm install [--save] postcss-longshadow-text

Configure

postcss([require('postcss-longshadow-text')])

See Postcss docs for examples for your environment.

API

Stylesheets

.foo {
	longshadow-text: [direction] [size] [color] [type];
}

Examples

.text-element {
	longshadow-text: top 70 #A13C32 text;
}

.box-element {
	longshadow-text: bottom 120 #702C70 box;
}

Options

Options Description Value
direction Position of shadow text top, right, bottom, left, top-left, top-right, bottom-left, bottom-right
size Size of shadow text Number such as 10, 20, 30
color Color of shadow text HEX, RGB, RGBA, HSL
type What kind of shadow to add text or box

Team

Dang Van Thanh
Dang Van Thanh

License

MIT © Dang Van Thanh