Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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 context

stack.level(css);
// return all of `z-index` values
```

## License

The MIT License (MIT)

Copyright (c) 2014 Masaaki Morishita