it's+形容词 for/of sb to do sth中,for与of有什么区别?

问题描述:

it's+形容词 for/of sb to do sth中,for与of有什么区别?

当形容词修饰人的时候用of It is kind of you to tell me the truth.
当形容词修饰动词不定式动作的时候用for It is difficult for me to answer such questions.