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
Release files for hcss 0.3.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| hcss-0.3.1.tar.gz | 6.8 kB | Details |
Release files / hcss-0.3.1.tar.gz
| Download URL | hcss-0.3.1.tar.gz |
|---|---|
| Size | 6.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
41c5a1e81ad3c4fb64a7e56f404971c74378c0c384c1d55686518afaf35a917a
|
|
BLAKE2b-256 checksum How to use checksums |
f60323deea7663967fa27931c1518fd74613cfca3b0d7a6aeeded7fde59b21cb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |