by a whisker

на волосок, чуть-чуть

He shot at me and just missed hitting me by a hair.

Другие идиомы: