flirt with something phrasal verb (
see also flirt)
1. to consider doing something, but not be very serious about it:
He had flirted with the idea of emigrating.2. to do something that is dangerous or could cause problems for you:
Climbers enjoy flirting with danger. [TahlilGaran] Dictionary of Contemporary English ▲