css hide scrollbar if no overflow code example Example: hide scroll bar when not needed overflow: auto;