@cryptic-css/prop-scroll
Advanced tools
Comparing version 0.2.1 to 1.0.0
{ | ||
"name": "@cryptic-css/prop-scroll", | ||
"version": "0.2.1", | ||
"version": "1.0.0", | ||
"description": "Add support for the `scroll` prop to easily create horizontal/vertical/both scrollable elements.", | ||
@@ -29,5 +29,5 @@ "author": "Victor Vincent <wintercounter+ccss@gmail.com>", | ||
"devDependencies": { | ||
"@cryptic-css/core": "^0.2.1" | ||
"@cryptic-css/core": "^1.0.0" | ||
}, | ||
"gitHead": "dcd133f2ef9eb5ad9b3d85924c0e48f939f5b667" | ||
"gitHead": "d0dcdf7f5d51ea8bc559db0eb37ac7660d8eaafe" | ||
} |
# `@cryptic-css/prop-scroll` | ||
> Adds support for custom prop `scroll`. It'll apply all necessary CSS to create | ||
> scrolling boxes. | ||
## Usage | ||
```js | ||
import ccss from 'cryptic-css' | ||
ccss({ | ||
scroll: 'x' | ||
}) | ||
``` | ||
## Available values | ||
- `x`: Enable horizontal scrolling. | ||
- `y`: Enable vertical scrolling. | ||
- `true`: Enable scrolling in both directions. | ||
See: https://ccss.dev/docs/api-and-packages/prop-scroll |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
1
3145
4