Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Don't highlight HTML areas on editing CSS rules in Chrome

On the latest Chrome version, we got some powerful CSS tools to create rules using buttons and a highlight on every affected area when editing any rule in the inspector, this is very useful, but also some annoying to design a website.

If I am editing a rule like padding or margin, it shows a green or orange area around the element, for me is hard to say where is the border exactly with this colored area, I prefer to see the "REAL" result.

On the following image I am editing the padding and I can not see the border.

enter image description here

If I want to edit the border color to a different color, the line color turn into orange, then I can not see the color I am changing.

On the following image I am changing the border color to gray, as you can see it shows an orange border instead.

enter image description here

How do I disable/turn off this feature?

Google Chrome Version 73.0.3683.86

like image 659
stramin Avatar asked Apr 05 '19 14:04

stramin


1 Answers

You are using bit older version, this has been fixed in newer versions. Chrome Version 74.0.3729.169 and Canary Version 77.0.3812.0.

after updating chrome, if you still face this issue, here is the work around.

With mouse hover over selected element in DOM Tree.

enter image description here


Without mouse hover over selected element in DOM Tree.

enter image description here


You just need to remove hover from element selection.

like image 178
Abhishek Pandey Avatar answered Oct 09 '22 03:10

Abhishek Pandey