CSS Styling

CSS tooling is coming soon. The features described below are under active development.

Elide uses LightningCSS for CSS compilation and optimization. LightningCSS is a Rust-based CSS parser, transformer, and minifier. SCSS support is provided via the grass compiler.

Features

  • Minification — remove whitespace and optimize selectors
  • Vendor prefixing — automatically add browser-specific prefixes based on browser targets
  • CSS nesting — transpile nested rules for older browsers
  • Modern syntax — use the latest CSS features and transpile down as needed
  • SCSS/SASS — SCSS files are compiled to CSS automatically

Read more about LightningCSS at lightningcss.dev.