Skip to main content

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

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)

Source distribution for hcss 0.3.1
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

Release history Release notifications | RSS feed

This release

0.3.1 This release

1 release file

0.3

1 release file

0.2

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page