nowfound

Dev tools · December 4, 2010

CM

CSS Meta-Language in Javascript

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 (…

CSS Meta-Language in Javascript launched on December 4, 2010 with 10 votes, #30 of 98 launches that month and more than 50% of that year's launches.

In plain words

CSS Meta-Language in Javascript is a tool that writes CSS using JavaScript syntax, making stylesheets more accessible to developers familiar with JavaScript. It supports variables, mixins, and other features similar to Less and Sass. The tool allows developers to modify styles dynamically at runtime using JavaScript logic, bridging CSS and JavaScript programming approaches within a single language.

written from the facts on this page · September 2026

From the sources

In the maker’s words, at launch

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…

Does a similar job

all alternatives →

More dev tools this month

the category →
  • /dev/null▲482

    a social network for devs

    Dev tools · 2d ago · dev-null.sh

  • open-source IDE for thoughtful software design. Contribute to devdotfast/whiteboard development by creating an account on GitHub.

    Dev tools · 27d ago · github.com

  • Contribute to reladraw/reladraw development by creating an account on GitHub.

    Dev tools · 25d ago · github.com

  • OpenBot▲362

    Grok Bot alternative: free, local, open-source, multiplayer

    Dev tools · 22d ago · openbot.run

  • Talanoa▲343

    Hi HN, I’m a fullstack developer, and honestly, I’ve lost count of how many side projects I’ve worked on over the years. But one idea kept coming back to me: a different kind of email client. It first came to me in 2014: “What if we could handle emails more like conversations?” Every year, I’d revisit this concept in my “Build Notes.” Ten years later, no one had built exactly what I had in mind — so I finally decided to do it myself. That’s how Talanoa was born. I wanted something focused on people, not timelines. I was tired of marking messages as unread just to remember to reply later, or…

    Dev tools · 20d ago · talanoa.email

  • CoreSpeed▲332

    One MCP for everything your agents need: apps, memory, tools

    Dev tools · 28d ago · corespeed.io

Source: Show HN post ↗ · launch text quoted in part

Launched alongside, December 2010

the whole month →