Skip to content
Advertisement

How to draw the reference lines(blue Auxiliary lines) with css like the one in firefox devtools?

Auxiliary lineenter image description here

How to draw the blue dashed reference lines with css like the one in firefox development?

Advertisement

Answer

I finally build references line like this : to make the parent div’s top,left, width,height variables, and calc them to lines.

JavaScript

If you have more good idea pleace leave your answer.

User contributions licensed under: CC BY-SA
8 People found this is helpful
Advertisement