hcss is a CSS compiler that that allows you to use HTML element hierarchy to define CSS rules
Project description
hcss is a CSS compiler that that allows you to use HTML element hierarchy to define CSS rules. Requires Python 2.2+. BSD-licensed.
Input
<div id="parent">
margin: 10px;
<div class="child">
margin: 5px;
border: 1px solid #000;
</div>
</div>
Output
div#parent {
margin: 10px;
}
div#parent > div.child {
margin: 5px;
border: 1px solid #000;
}
Setup
$ pip install hcss # or $ easy_install hcss
Links
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
hcss-0.2.tar.gz
(5.6 kB
view details)
File details
Details for the file hcss-0.2.tar.gz.
File metadata
- Download URL: hcss-0.2.tar.gz
- Upload date:
- Size: 5.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a72037cab877c68902e860b58b2a8866eb303f5a3ff6d15a9b729a9f99d9b2a4
|
|
| MD5 |
82e6d7c159fc4d528fce6980b2b25ca0
|
|
| BLAKE2b-256 |
8abc276cc32a26c98e5690dbce314ef27955554139c6d06b030740fb2e98e056
|