Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/matype/css-stack
Analize stacking contexts and stack level
https://github.com/matype/css-stack
Last synced: 6 days ago
JSON representation
Analize stacking contexts and stack level
- Host: GitHub
- URL: https://github.com/matype/css-stack
- Owner: matype
- License: other
- Created: 2014-05-23T00:35:09.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-05-24T11:17:18.000Z (over 10 years ago)
- Last Synced: 2024-10-12T00:36:50.641Z (about 1 month ago)
- Language: JavaScript
- Homepage:
- Size: 133 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.markdown
- License: LICENSE
Awesome Lists containing this project
README
# css-stack [![Build Status](https://travis-ci.org/morishitter/css-stack.svg)](https://travis-ci.org/morishitter/css-stack)
Analize stacking contexts and stack level
## Installation
```shell
$ npm install css-stack
```## Example
```javascript
var stack = require('css-stack');
var css = fs.readFileSync('target.css').toString();stack.list(css);
// return selectors have stacking contextstack.level(css);
// return all of `z-index` values
```## License
The MIT License (MIT)
Copyright (c) 2014 Masaaki Morishita