Auxiliary lines (measuring elements) in Chrome DevTools?
Asked Answered
C

3

25

In Firefox DevTools there are auxiliary lines if I hover over any CSS:

Auxiliary lines in Firefox

Are there settings in Google Chrome to get such auxiliary lines?

Cutlass answered 12/2, 2018 at 9:8 Comment(3)
(Dev-tools) Settings => Elements => Show rulersBeverly
@Beverly Oh so easy. Thanks a lot!Cutlass
@Beverly Reads rather like an answer than a comment... :-)Meggy
B
26

As Kaiido said in a comment, open the DevTools window and go to Settings → Elements → Show Rulers.

Barrister answered 25/6, 2019 at 15:38 Comment(0)
M
1

Adding an answer to an older post since things/UI has changed in Chrome Devtools and this is the first post Google provides when searching for rules/lines being shown

Go to Settings -> (first section) Preferences -> Scroll way down to Elements -> Check the checkbox 'Show rulers on hover'.

Screenshot of DevTools with Show rulers on hover

Moorhead answered 11/12, 2023 at 5:40 Comment(1)
still now showingKite
F
0

Click the "Grid" button for the grid element on the "Elements" tab. https://developer.chrome.com/docs/devtools/css/grid

Fuze answered 23/2 at 10:15 Comment(1)
Your answer could be improved with additional supporting information. Please edit to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers in the help center.Gab

© 2022 - 2024 — McMap. All rights reserved.