Inspector touch controls

Overview

The Style controls section of the Inspector's Styles tab is a surface of
finger-sized widgets — segmented chips, sliders with − / + steppers, a tappable
box model, colour swatches and an Add property browser — for changing the
selected element's CSS without a keyboard. It exists because the property rows
that come before it can write anything but assume you already know that display
takes flex, that gap is a length, and that justify-content wants
space-between: knowing the CSS is exactly the tax a phone should not charge.

Selecting the element does not change: you still tap an element in the live
preview (or type a selector, or walk the element tree). The controls are what the
selection leads to.

Usage

  1. Select an element — tap Pick, then tap the element in the live preview;
    or type a selector and tap Select; or walk Element tree with the
    parents breadcrumb and the child chips. The sticky header keeps the element's
    label (div#hero.card) and its box size on screen.

  2. Choose a group — the surface opens with six wrapped tab chips: Layout,
    Spacing, Size, Text, Colour, Effects. It opens on
    Layout for a flex or grid container and on Spacing otherwise, and a tab
    carries a dot when the element declares something in that group.

  3. Change a value — every row is one property:

  1. Type instead, when you want to — the value on the right of every row is a
    button that opens the same editor a declared row opens: exact typing, the
    value-type switch, the unit row, the value rail and the page's own suggestions.
    A control never replaces it, and nothing here can express anything the editor
    cannot.

  2. Add a property — + Add property opens the property browser *inside the
    panel*, directly under the button: search every property, filter by category
    (All / Layout / Spacing / Size / Type / Colour / Effects), or tap one of the
    suggested chips. Each card draws a small picture of what the property does and
    says Choose, or Edit with the value the element has now. Picking a card
    opens the value editor on that property and closes the browser. It stays in the
    panel — the pinned element preview and the controls you already set stay on
    screen, because those are what each card is being compared against — and the
    panel scrolls it, so the header (Add a property / Close) is always one
    short scroll away. Since it is a disclosure rather than a new screen, the
    + Add property button closes it again.
    Switching category, or typing in the search field, brings the browser's own
    controls — the search field and the chip row — back into view: both replace
    every card below them, and they are what you need in view to choose again.

  3. Check and undo — the receipt above the controls lists every change with the
    value it replaced. Each row's ↺ restores it; Undo all reverses the session.
    Refresh re-reads the element after an outside change, and Clear drops
    the selection (and closes the property browser).

Layout    display · position · (flex) direction, align items, justify, gap
Spacing   margin · padding box model
Size      width · height · corners
Text      font size · weight · line height · tracking · align · colour
Colour    background · background image · border colour
Effects   opacity · shadow · border style · border width

Behavior