Espresso

CSS Editing Tools

Espresso includes tools for modifying your stylesheets without typing the CSS: sliders, color pickers and menus that write the declarations for you. They are in the inspector, at the right of the window, when you are editing a CSS, SCSS or LESS file. If the inspector is not showing, choose View ⟩ Show Inspector (option command I).

To use the tools, place your text cursor anywhere inside the rule you want to modify, and then adjust its properties in the inspector. What you change is written into the rule as you change it, and a preview of a page that uses the stylesheet shows the result. If you select several rules, a tool shows a value only where the rules agree.

Pages

The buttons at the top of the inspector choose a page of tools:

Click the title of a section to close it or open it.

Finding a property

If you know the name of a property, type it in the Find a Property field at the top of the inspector. The inspector shows the tools whose names match, from every page: type gap or radius and the tool is there.

Using the tools

Most of the tools should be largely self-explanatory, but here are some tips for using them:

Values that the tools cannot show as a control, such as calc() and clamp() expressions, are kept exactly as you wrote them.

What the tools write

The tools write CSS the way your stylesheet is written:

Browser compatibility

The tools write standard CSS and no longer add -webkit- or -moz- variants of properties, which current browsers do not need. If a rule already has prefixed declarations, they are kept in step with the standard one.

Some of the newer properties the tools offer are not understood by older browsers. Browser compatibility for CSS properties is a topic that is changing too fast to document here, but you can find more information about which browsers support which CSS properties by searching the web.