The "Elements" tab in the Edit panel lets you select elements in all panes at once and edit their content, style and attributes, and gives you quick information on their dimensions, font and colors.
Click the Inspect element button in the header or the panel to select an element, or right click any element and select "inspect element" in the context menu.
Any element you hover on will be highlighted in all panes, clearly showing the content, padding, border and margin, as well as guides for the sides of the element.
It will also show you a tooltip with information like the dimensions, real font used, font size, line-height, margin, padding, color and background color, contrast ratio and any important attributes (and if they're missing).
When you click, this element will be selected and the information will be shown in the panel. Pressing
esc cancels inspection.
The navigator at the top of the element panel will you show you the selected element with any id or classes. Hover over the element to highlight it in all panes. When you hover over an element, two icons appear to the right of it, one to reload the element styles, and the other to quickly toggle its visibility.
Above the element you'll see the list of parents, click any to inspect them. Below the element you'll see a list of the element's children. Again, click on any to inspect them.
The navigator show the foreground and background color (if defined). You can click on them to copy them. The applied font is shown next, along with the rendered font size and line height. After the font information you'll see a red cross, single green check mark or double green check mark. This indicates whether or not your text is readable according to WCAG standards at AA (one check) or AAA (two checks) level. It calculates the actual contrast by taking element opacity and ancestor backgrounds into account.
At the right side, the navigator displays the visual element dimensions.
If an element has just text content, you can edit the content here and it will be automatically applied to all panes. If an element has a mix of text content and elements as children, you will be able to select the text as "text node" in the navigator.
Shows box model information for your element. Because an element can have different dimensions in each pane, you can select which pane to show the box model for. Hover over any part of the box model (margin, border, padding or content) to highlight just that part of the element in all panes.
If your element has positioning, that's shown in the box model too, along with the offset.
You can click the eye icon to the right of the box model to hide it so you have more space for the element editor.
The element editor lets you change the style, computed style, attributes and dataset of the selected element, all synced between panes.
The style tab will parse your CSS and list all the selectors that have effect on your element, either directly or through inherited values.
If a rule set is made up of multiple selectors (using
,) then the one that targets your element will be highlighted. On the right side, you'll see the stylesheet the selector comes from, as well as it's specificity. If the selector is inside a media query, that's wrapped around it.
You can edit values by clicking on them and editing their values, and apply them by pressing Enter. If you're editing any numerical value, you can use the up and down keys to change the value. Holding shift will change the value by 10, holding cmd (on Mac) or ctrl (Windows and Linux) changes the value by a 100, while holding alt will change the value by 0.1.
For properties with a color, we'll show a preview of the color. Click on that to open a color selector that will let you live edit the color in all panes.
Add CSS at the bottom of each selector. You can type CSS as if you're in an editor here. Typing
: will move you from the property to the value, and pressing enter will add the line, and let you type a new property.
You can easily copy an entire CSS rule set (selector and all declaration) by hovering with your mouse before the selector. A copy icon will appear. Click that to copy a ready-to-use CSS rule set. You cna also copy individual lines by clicking the same icon before the line.
The computed tab will show you the computed styles for an element. By default, it will hide all CSS properties that you didn't explicitly set. You can show all the CSS properties by clicking "Show all".
Edit the values by clicking on them just like in the style tab and click "Copy styles" to copy all your CSS declarations, or copy a single declaration by clicking the copy button before the line.
The attributes tab will list all the attributes of an element, like
values and lets you edit them live for all panes. Values will automatically wrap over multiple lines if they become too long (if you use atomic CSS for example). You can also add new attributes here. Keep the value empty for boolean values. You can delete attributes by clicking the trashcan icon.
The Data tab will list all the values stores in an elements
dataset. Values will automatically wrap over multiple lines if they become too long. You can also add new items or delete them here as well.
Is your question not answered?
Ask via Twitter, Slack or our contact form