CSS Playground

Try out CSS ideas instantly: edit the styles, watch the preview update, and check how it looks at phone, tablet and desktop widths.

Loading tool…

How to use the CSS Playground

  1. Edit the CSS tab (the HTML tab holds the markup you are styling).
  2. Watch the preview update live, or switch Live preview off and press Run.
  3. Use Tablet and Mobile sizes to test responsive rules, then Copy your CSS or Download the whole page.

Runs in your browser; nothing is uploaded.

Frequently asked questions

What can I test here?

Any CSS a browser supports: colours, flexbox, grid, animations, transitions, media queries, variables, filters and more.

Can I see how my CSS looks on a phone?

Yes. Switch the preview to Mobile (375 px) or Tablet (768 px) to see exactly how your media queries respond.

Is my CSS saved?

Yes, automatically in this browser on this device. Use Copy or Download to keep it anywhere else.