Five Browser DevTools Features We Use Daily
Most of our debugging happens in five panels.
The five
Nothing here needs a framework. A few lines of plain CSS and a template that prints clean markup will get you most of the way.
- The grid overlay
- Forced element states
- The rendering panel for paint flashing
- The accessibility tree
- Network throttling
We checked every page at 390 pixels wide before calling it done. Phones are where layouts break first, and where most of our readers are.
Toggle the hover state from DevTools and stop wiggling the mouse.
It is tempting to add one more variation. Resist it. Every option you add is one more thing to test, document and eventually delete.
Our rule of thumb: if we cannot explain a choice in one sentence to a client, we probably should not ship it.
Borders do a lot of quiet work. They separate content, show what can be clicked and give the eye somewhere to rest.
Performance was not the goal, but it came along anyway. Fewer styles, fewer scripts and fewer images add up quickly.
The first version looked plain. The second version looked busy. The third version, with half the details removed, is the one we kept.
We asked a few readers to try it with a keyboard only. Two of them found problems in under a minute, which is exactly why we asked.
Browser support is no longer the excuse it used to be. Everything in this post works in every current browser without a fallback.
If you only change one thing after reading this, make it the spacing. Consistent gaps make even a rough layout look intentional.
Colour is the last thing we add. Getting the structure right in black and white first saves a lot of arguing later.
4 thoughts on “Five Browser DevTools Features We Use Daily”
The screenshots sold me. Going to rebuild our card grid this weekend.
Agreed, this is how we do it too.
The screenshots sold me. Going to rebuild our card grid this weekend.
Tried it in Safari and it works perfectly.