mid-15c., "foolish person," of unknown origin, perhaps related to obsolete verb fop "make a fool of," from a continental source akin to German foppen "jeer at, make a fool of." Sense of "dandy, coxcomb, man ostentatiously nice in manner and appearance" is from 1670s, perhaps given in derision by those who thought such things foolish. The 18c. was their period of greatest florescense. The junior variety was a fopling (1680s).
His was the sumptuous age of powder and patches. He was especially dainty in the matters of sword-knots, shoe-buckles, and lace ruffles. He was ablaze with jewelry, took snuff with an incomparable air out of a box studded with diamonds, and excelled in the "nice conduct of a clouded cane." [Charles J. Dunphie, "Fops and Foppery," New York, 1876]