Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/davesnx/styled-ppx/llms.txt

Use this file to discover all available pages before exploring further.

The styled-ppx CSS parser supports CSS Syntax Module Level 3 almost completely. Coverage is guided by what developers use day-to-day and what is available in all major browsers.

Levels of support

There are three distinct tiers of support in styled-ppx:
  1. Parser support — the parser understands and accepts the CSS syntax defined by the specification.
  2. Code generation support — styled-ppx can transform the parsed CSS into the corresponding CSS bindings for your target platform.
  3. Interpolation support — type-safe holes allow values from your ReScript/OCaml code to be interpolated into CSS in a fully type-checked way.
A feature must pass all three tiers to be considered fully supported.

Legend

SymbolMeaning
Fully supported
🟠Partially supported
🔴Not supported
This table was generated manually and may be outdated. For the most current data, refer to the test suite in the repository.

W3C module coverage

CSS FeatureLinkSupported
Compositing and Blending Level 1compositing-1
CSS Backgrounds and Borders Module Level 3css-backgrounds-3🟠
CSS Box Sizing Module Level 3css-box-3🟠
CSS Cascading and Inheritance Level 3css-cascade-3
CSS Cascading and Inheritance Level 4css-cascade-4🔴
CSS Color Module Level 3css-color-3
CSS Color Module Level 4css-color-4🟠
CSS Color Adjustment Module Level 1css-color-adjust-1🔴
CSS Conditional Rules Level 3css-conditional-3🔴
CSS Containment Module Level 1css-contain-1
CSS Containment Module Level 2css-contain-2🔴
CSS Counter Styles Level 3css-counter-styles-3🔴
CSS Display Module Level 3css-display-3🟠
CSS Easing Functions Level 1css-easing-1
CSS Flexible Box Layout Module Level 1css-flexbox-1
CSS Fonts Module Level 3css-fonts-3🟠
CSS Fonts Module Level 4css-fonts-4🟠
CSS Grid Layout Module Level 1css-grid-1🟠
CSS Grid Layout Module Level 2css-grid-2🔴
CSS Images Module Level 3css-images-3🔴
CSS Images Module Level 4css-images-4🔴
CSS Lists and Counters Module Level 3css-lists-3🔴
CSS Logical Properties and Values Level 1css-logical-1🟠
CSS Multi-column Layout Module Level 1css-multicol-1🟠
CSS Positioned Layout Module Level 3css-position-3
CSS Box Sizing Module Level 3css-sizing-3
CSS Box Sizing Module Level 4css-sizing-4🟠
CSS Style Attributescss-style-attr
CSS Transforms Module Level 1css-transforms-1🟠
CSS Transforms Module Level 2css-transforms-2
CSS Basic User Interface Module Level 3css-ui-3
CSS Values and Units 3css-values-3🟠
CSS Custom Properties for Cascading Variables Module Level 1css-variables-1🔴
CSS Will Change Module Level 1css-will-change-1
CSS Writing Modes Level 3css-writing-modes-3
Media Queries Level 3css3-mediaqueries🟠
CSS Namespaces Module Level 3css-namespaces-3🟠
Selectors Level 3selectors-3
Selectors Level 4selectors-4🟠
CSS Box Alignment Module Level 3css-align-3
CSS Animations Level 1css-animations-1
CSS Fragmentation Module Level 3css-break-3
CSS Font Loading Module Level 3css-font-loading-3🔴
CSS Masking Module Level 1css-masking-1🟠
CSS Scroll Snap Module Level 1css-scroll-snap-1🟠
CSS Scrollbars Styling Module Level 1css-scrollbars-1🔴
CSS Shapes Module Level 1css-shapes-1🔴
CSS Speech Modulecss-speech-1🔴
CSS Text Module Level 3css-text-3🟠
CSS Text Decoration Module Level 3css-text-decor-3
CSS Transitionscss-transitions-1
CSS Writing Modes Level 4css-writing-modes-4
Filter Effects Module Level 1filter-effects-1🟠
Media Queries Level 4mediaqueries-4🟠
All W3C references are available at w3.org.

CSS baseline versions

The following foundational CSS specifications are fully supported:

Build docs developers (and LLMs) love