In any county which has adopted county zoning regulations, the county board, by resolution, may make regulations as may be necessary or expedient to promote the public health, safety, and welfare, including regulations to prevent the introduction or spread of contagious, infectious, or malignant diseases; to provide rules for the prevention, abatement, and removal of nuisances, including the pollution of air and water; and make and prescribe regulations for the construction, location, and keeping in order of all slaughterhouses, stockyards, warehouses, sheds, stables, barns, commercial feedlots, dairies, junk and salvage yards, or other places where offensive matter is kept, or is likely to accumulate. Such regulations shall be not inconsistent with the general laws of the state and shall apply to all of the county except within the limits of any incorporated city or village, and except within the unincorporated area where a city or village has been granted zoning jurisdiction and is exercising such jurisdiction.