https://github.com/matype/z-manager
Set z-index value relatively and manage easily.
https://github.com/matype/z-manager
Last synced: 9 months ago
JSON representation
Set z-index value relatively and manage easily.
- Host: GitHub
- URL: https://github.com/matype/z-manager
- Owner: matype
- License: other
- Created: 2014-05-08T18:09:59.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2014-05-12T16:06:32.000Z (about 12 years ago)
- Last Synced: 2025-01-16T23:19:05.431Z (over 1 year ago)
- Language: JavaScript
- Size: 160 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.markdown
- License: LICENSE
Awesome Lists containing this project
README
# z-manager [](https://travis-ci.org/morishitter/z-manager)
Set z-index value relatively and manage easily.
## Installation
```
$ npm install z-manager -g
```
## Example
```shell
$ z-manager create your-css-file.css
```
Create `.zmanagerc` and edit this file.
```javascript
{
"1": ".z1",
"2": "#header",
"3": "#footer",
"4": "#footer .ico",
"5": ".container",
"6": ".nav"
}
```
All of selectors have z-index property are written in `.zmanagerc`.
Sort property in ascending order of z-index value you want.
and, run bellow command:
```shell
$ z-manager adapt your-css-file.css
```
## License
The MIT License (MIT)
Copyright (c) 2014 Masaaki Morishita