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.3.tar.gz
(6.7 kB
view details)
File details
Details for the file hcss-0.3.tar.gz.
File metadata
- Download URL: hcss-0.3.tar.gz
- Upload date:
- Size: 6.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5298b7620da7220255db7c632b5be035c7e007b798c447e3cc36a54c2b38e816
|
|
| MD5 |
702aa28398c724203fd40c3ac4034825
|
|
| BLAKE2b-256 |
42b5b3c4b85a28dba48c0b18ae3d7ab591a3cd3b6f30238f0ba1c25e00be4752
|