Where does “かっこいい” come from?

Words derived from “かっこいい