1.1.3 • Published 7 months ago

postcss-longshadow-text v1.1.3

Weekly downloads
1
License
MIT
Repository
github
Last release
7 months ago

PostCSS Long Shadow Text

PostCSS plugin for long shadow text

npm.io

Install

$ npm install --save postcss-longshadow-text

Configure

Add the plugin to plugin list

module.exports = {
	plugins: {
		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

OptionsDescriptionValue
directionPosition of shadow texttop, right, bottom, left, top-left, top-right, bottom-left, bottom-right
sizeSize of shadow textNumber such as 10, 20, 30
colorColor of shadow textHEX, RGB, RGBA, HSL
typeWhat kind of shadow to addtext or box

Team

Dang Van Thanh
Dang Van Thanh

License

MIT © Dang Van Thanh