Extract css property name compare into a functor class