idiom

By a whisker.

Theme: success Keyword: cat

means

By an extremely small margin.

also

By a hair

Example

She won the race by a whisker.