Skip to main content

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

Project details


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.1.tar.gz (6.8 kB view details)

Uploaded Source

File details

Details for the file hcss-0.3.1.tar.gz.

File metadata

  • Download URL: hcss-0.3.1.tar.gz
  • Upload date:
  • Size: 6.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for hcss-0.3.1.tar.gz
Algorithm Hash digest
SHA256 41c5a1e81ad3c4fb64a7e56f404971c74378c0c384c1d55686518afaf35a917a
MD5 43fac89b8604283c5e1bfc610f205bd4
BLAKE2b-256 f60323deea7663967fa27931c1518fd74613cfca3b0d7a6aeeded7fde59b21cb

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page