CSS Meta-Language in Javascript
Show HN: CSS Meta-Language in Javascript
Operating in show hn launch, CSS Meta-Language in Javascript operates.
Profile
This was an attempt to make css more accessible to javascript. It just happened to solve a lot of the same problems as less and sass as a side-effect. I'll start with a few examples and then break out the code and explain it...Here's a generic example: css // Begin CSS ( "selector1" ) ({ property1: value, property2: value, // ... }) ( "selector2" ) ({ property1: value, property2: value, // ... }) ; // End CSS Some less and sass features (Variables, Mixins, etc.): // Variable var text_color = "black"; // Mixin var dim = function( w, h ) { return { width: w, height: h, } }; css // Begin CSS ( "div" )( dim( "10px", "10px" ) ) ({ color: text_color, }) ( "span" ) ({ color: text_color, }) ; // End
Within the show hn launch space, the company focuses on its core offering rather than a broad product line.
The company is listed at the Show HN launch stage of development.
| Sector | Show HN launch |
|---|---|
| Stage | Show HN launch |
Website: keithmajhor.pastebin.com/twCKCcHV
Browse related
Create a free account