/zlist

Little Python util to parse z-index properties from CSS files and list them in order

Primary LanguagePythonMIT LicenseMIT

zlist

Parses your CSS files for z-index declarations and builds an ordered list of them. Useful for debugging/editing stacking orders.

Installation

$ pip install zlist

Usage

$ zlist file.css [file2.css] [file3.css] [...]

Sample output

test.css: 3 z-index declaration(s) found

     index  |  selector
------------------------------
        10     .header
        30     .footer
               .footer2
               .footer3
        50     .main