Skip to content
Languages / CSS

CSS

How Atracode compiles CSS, what it is verified against, and what it refuses.

Kind
Markup, templates and the web
Verified against
Reference style resolution
Published results
Per release, in the changelog

What is supported

Selectors, properties, values, at-rules and nesting resolved deterministically, independent of any browser.

Rendered and resolved the same way every time, with no browser or template server.

How it is verified

CSS isn't only compiled: Atracode stands in for the engine or library that would normally run it, and every result is checked against Reference style resolution. Outputs must match exactly, and the result gets a behavior hash like any other program.

$ atracode compile main.src
verified  raven:3f1c…  (illustrative)

What gets refused

Anything that depends on the world outside the program, such as the clock, the network, environment variables or unseeded randomness, is refused at its exact line and column instead of being approximated. Pass those values in as inputs and compile again. Refusals lists the common causes and fixes.

  • HTMLVerified against Reference parser
  • MarkdownVerified against CommonMark reference
  • JinjaVerified against Jinja2
  • LiquidVerified against Liquid reference
  • HandlebarsVerified against handlebars.js
esc

Type to search titles, headings and text.