CSS hide scroll bar if not needed June 5, 2023 by Tarik Set overflow-y property to auto, or remove the property altogether if it is not inherited.