cssynth · runs in your browser
Try it
Pick a flat picture and cssynth searches for short HTML/CSS that draws it. Everything runs on your machine with Pyodide; nothing is uploaded. OR-Tools has no browser build, so this version groups box-shadows greedily instead of with the exact solver, and code can come out a few characters longer than the command-line tool's.
Target
No picture yet
Saved results, shown instantly (targets from OmPreetham/cssbattle, MIT):
More targets to compile:
Starting Python…
Result
The generated code, rendered by your browser, appears here.