docsexport & import

export css

"file" > "export" > ".js/.css/.html" turns the drawing into code. "copy code" copies it.

  • Format: CSS is one element with a box-shadow for every pixel, JavaScript a canvas.
  • Export mode: single frame or animation. A single frame starts on the one you are on.
  • Output type: code only, or a complete HTML page.
  • Pixels: visible only keeps the code short, all pixels writes the empty ones too.
  • Pixel size: a CSS variable, or fixed.

Good for small icons and loaders. Anything large is better as a PNG.