No building shall hereafter be erected, altered or moved to create narrower or smaller front yards, side yards, rear yards or other open spaces than required by this chapter for the zoning district in which such building is or will be located.