Socket
Socket
Sign inDemoInstall

css-utils

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

css-utils - npm Package Compare versions

Comparing version 0.1.0 to 0.2.0

css-utils.css

8

package.json
{
"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
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc