Skip to content
A ColdFusion component representation of a CSS rule.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib
LICENSE.md
README.md

README.md

CSSRule.cfc - ColdFusion CSS Rule Parsing

by Ben Nadel (on Google+)

NOTE: This is a really old project that has not been updated in years.

The CSSRule.cfc is a ColdFusion component that can parse and model CSS using ColdFusion. I love CSS; I think it's like the most awesome, straightforward way to describe formatting of rendered boxes. As such, I wanted to use it in more of my projects. However, in order to do this, I needed to come up with a way to parse and maintain the CSS model programmatically inside of ColdFusion.

Features

  • Models a large sub-set of CSS properties (not including auditory features)
  • Can handle short-hand notation (ex. font, background)
  • Can return a single property or the entire map of properties

Known Bugs And Issues

  • Some CSS rules not supported
You can’t perform that action at this time.