Borders, shape, shadows, and effects
Set element edges and visual effects with reversible native controls.
Border and shape#
In Style → Border and shape, choose the border style, its width, and color. Since 0.9.15 each style (Theme, None, Solid, Dashed, Dotted, Double) is drawn as a line, three to a row. Choosing a visible style when the element has no border yet starts it at 1px, so the line shows at once.
Border color has a Border opacity, % beside it (0.9.15). Changing the color keeps the opacity you set, and a theme color variable can be chosen under it.
Width and corners are drawn as boxes instead of separate fields:
- Border width: one drawn box with a number on each side. The link sets all four sides together.
- Corner roundness: one drawn box with a number at each corner. The link sets all four corners together.
- Drag on the drawing: pull a corner inward to round it, or an edge inward to thicken that side. Each drag is one Undo step.
Use native controls rather than a separate hidden class when the value is an element override. A shape or border does not change the content’s semantic role.
Shadows#
Shadow offers cards that show each preset: Theme, None, Soft, Raised, Deep and Inset line. Open Adjust the shadow to make your own: drag the ball on the sample card to move the shadow across and down (the arrow keys move it too, and Across and Down take exact pixels), and use the sliders for Blur, Spread and Strength, plus its Color and Inside the edge.
A shadow can change emphasis without changing layout size. Check that nearby elements and clipped containers do not cut it off unexpectedly.
Effects#
Effects shows each setting on a small sample as you change it (0.9.15):
- Opacity: the element's color fading over a checkerboard, a track from clear to that color, and the percent typed beside it.
- Filters (blur, brightness, contrast, saturation, grayscale and more) and Transform (rotate, scale, move, skew, flip): a little picture wears them, and each function you add gets a slider that changes the page live, with a number for an exact value. Each slider drag is one Undo step, and Cmd+Z (or Ctrl+Z) after a slider is the editor's Undo.
- Blend mode: each choice shows a circle mixed over a light-to-dark stripe in that mode.
- Transition choices are drawn as short trails.
These are native CSS values stored on the element for its device and state. A transform changes how an element is drawn; it does not necessarily move the space reserved for it in document flow. Large translations or scale changes can overlap other content. A blend mode depends on the background underneath it.
Hover and focus#
Set Normal first, then Hover or Focus where appropriate. Keep keyboard focus visible and avoid relying on hover for information unavailable on touch devices. Use a restrained transition, and test the final visitor view with reduced motion.
Reset the specific property to restore inheritance. Save, reload, and compare the visible result at the intended breakpoint.