A FEW SIMPLE STEPS
Get started
- Create a note and select CSS or import a .css file.
- Edit the rules and use Format in the code tools when you want readable layout.
- Save a reusable selection as a snippet, or compare it with an earlier version.
- Download the CSS source and test it with your actual HTML.
Open editor takes you to the draft on this page. Paste or open a source file, or choose Try this example. Save to notebook keeps a named copy with your notes. Your workspace style stays unchanged.
Make a stylesheet easier to review
Choose CSS to highlight selectors, declarations, and values. Use Format to tidy supported CSS, find and replace repeated custom property names, and compare two revisions when a small change affects many rules.
Give a reusable snippet a descriptive title such as “card grid” or “focus ring”. Comments about the intended HTML structure help when you paste it into a project later.
Preview CSS with the HTML it belongs to
A standalone CSS note edits source; it is not automatically applied to another note. To inspect a small visual example, put the rules inside a style element in an HTML note and use that note’s sandboxed preview.
Browser support, cascade order, and inherited styles depend on the final page. Test the downloaded stylesheet in the project where you will use it.
A few questions
Can I preview a CSS file by itself?
CSS needs markup to style. Use an HTML note with a style element for a small preview, or copy the stylesheet into your own web project.