High-performance library for inlining CSS into HTML 'style' attributes

css-inline uses components from Mozilla's Servo project and provides bindings for Rust, Python, Ruby, JavaScript, Java, and C. The playground runs the library compiled to WebAssembly in the browser. Paste HTML with CSS into the text area and click "Inline" to process the output.

Input HTML

Paste HTML with CSS and adjust the settings on the right before inlining.

Runs in your browser

Configuration

Toggle common css-inline options before running the inliner.

These options apply the next time you press Inline.