Comparing version 0.1.0 to 0.2.0
{ | ||
"name": "css-utils", | ||
"version": "0.1.0", | ||
"version": "0.2.0", | ||
"description": "A collection of css utility classes", | ||
"main": "index.js", | ||
"scripts": { | ||
"test": "make" | ||
"test": "make", | ||
"watch": "./node_modules/stylus/bin/stylus --include-css -w styles/css-utils.styl -o ." | ||
}, | ||
@@ -22,3 +23,6 @@ "repository": { | ||
"url": "https://github.com/radubrehar/css-utils/issues" | ||
}, | ||
"devDependencies": { | ||
"stylus": "~0.48.1" | ||
} | ||
} |
css-utils | ||
========= | ||
A collection of css utility classes | ||
A collection of css utility classes. All classes are prefixed with ```u-``` | ||
## Install | ||
```sh | ||
$ npm install css-utils | ||
``` | ||
## Usage | ||
In your html file, include the css-utils.css | ||
```html | ||
<head> | ||
<link rel="stylesheet" href="./node_modules/css-utils/css-utils.css" /> | ||
</head> | ||
``` | ||
## API | ||
#### flex | ||
```css | ||
.u-flex | ||
``` | ||
Adds display flex | ||
#### flex-row | ||
```css | ||
.u-flex-row | ||
``` | ||
Adds display flex and flex-flow row | ||
#### flex-n (0 to 10) | ||
```css | ||
.u-flex-3 | ||
``` | ||
Adds flex: n |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Empty package
Supply chain riskPackage does not contain any code. It may be removed, is name squatting, or the result of a faulty package publish.
Found 1 instance in 1 package
29382
18
200
47
1